是否可以将不同的训练和测试数据集用于机器学习?

时间:2019-04-22 13:49:28

标签: python sentiment-analysis

我是python机器学习情绪分析的新手,并且一直在尝试使用一些在线代码来理解它。是否可以使用单独的训练和测试数据集来预测情绪?香港专业教育学院到目前为止看到的一切都是使用sklearn train_test_split。我能在网上看到任何示例吗?

我有一个训练数据集,其中包含4000个手动标记的推文,并希望将其用于预测我的推文测试数据集。

http://datasciencetoday.net/index.php/en-us/tutorials-top/163-sentiment-analysis-using-python-part-i-machine-learning-model-comparison

https://github.com/susanli2016/Machine-Learning-with-Python/blob/master/Consumer_complaints.ipynb

我一直在使用这些网站来帮助我。.但是它仍然只是分割训练数据集。

0 个答案:

没有答案