基于LSTM的文本情感分析-TensorFlow2
前期工作
导入数据
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib import font_manager
from itertools import accumulate
# 支持中文
plt.rcParams['font.sans-serif'] = ['SimHei'
微信扫一扫
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib import font_manager
from itertools import accumulate
# 支持中文
plt.rcParams['font.sans-serif'] = ['SimHei'
相关推荐