您当前的位置: > 详细浏览

大数据心理学的Python入门

Python for Big Data Psychology Research

摘要:本文以九九文章网为例,详细地介绍了大数据心理学研究方法。利用用户实验采集的文本数据,提取词频特征,训练机器学习模型,然后利用学习模型实现对爬取的九九文章网的文章对应的生活满意度进行预测,帮助大数据研究初学者对整个处理流程有直观的感受。本文通过具体实例,介绍了Python和情感词典用于文本的词频计算,利用scikit-learn库完成对机器学习模型训练、测试及应用,并结合附带的源程序,便于读者直接操作。本文初步介绍了基于文本词频的机器学习建模的大数据研究方法,对于其中技术的介绍较为基础,主要强调如何将技术进行应用,对技术原理的介绍较少。

英文摘要:This paper introduces the big data research method in psychology in details, taking Ninety-Nine Articles website as an example. Using the collected textual data, we calculated word frequencies as features, then trained machine learning models, and used models to predict life satisfaction for texts crawled from Ninety-Nine Articles website, providing inspiration and help for beginners in big data research. This paper introduces text-based word frequency calculation using Python and sentiment dictionary through specific examples, and completes the training, testing and application of the machine learning model using Python's scikit-learn library. Furthermore, we uploaded the accompanying source program for direct operation. This paper introduces the big data research method of machine learning modeling via text-based word frequency. Our article emphasizes how to apply the technology, and thus we introduce the technology in a more basic way with less involvement of the technical principles.

版本历史

[V2] 2022-03-18 21:27:48 chinaXiv:202203.00020V2 下载全文
[V1] 2022-03-18 15:02:55 chinaXiv:202203.00020v1 查看此版本 下载全文
点击下载全文
同行评议状态
待评议
许可声明
metrics指标
  • 点击量9283
  • 下载量2522
评论
分享
邀请专家评阅