您当前的位置:home > Detailed Browse

Article Detail

大数据心理学的Python入门

Python for Big Data Psychology Research

Abstracts

本文以九九文章网为例,详细地介绍了大数据心理学研究方法。利用用户实验采集的文本数据,提取词频特征,训练机器学习模型,然后利用学习模型实现对爬取的九九文章网的文章对应的生活满意度进行预测,帮助大数据研究初学者对整个处理流程有直观的感受。本文通过具体实例,介绍了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.

Download Comment Hits:10604 Downloads:3068
Comment List
NO. Comment content
1 大家好!为了让大家快速了解大数据和人工智能技术在心理学研究中的应用,结合预印本文章,我们将相关的源代码和数据开源(附件下载)。第一篇是完整的介绍,其他四篇是在第一篇文章的程序和数据资料上的进一步分析。欢迎大家下载和使用,也非常欢迎大家在使用过程中给我们反馈,一起把共享的资料完善,从而更好地为大家的研究工作提供帮助! 大数据心理学的Python入门 http://psych.chinaxiv.org/abs/202203.00020 出柜与否对于性少数群体心理的影响 http://psych.chinaxiv.org/abs/202112.00120 熬夜、城市发展水平与生活满意度关系 http://psych.chinaxiv.org/abs/202112.00163 家有学童,越来越“难”? http://psych.chinaxiv.org/abs/202201.00005 单身与否对生活满意度的影响——基于知乎数据的研究 http://psych.chinaxiv.org/abs/202201.00006 (Comment time:2022-03-07 19:12:53,From: 159.226.113.218 ,0 )
2 大家好!为了让大家快速了解大数据和人工智能技术在心理学研究中的应用,结合预印本文章,我们将相关的源代码和数据开源(附件下载)。第一篇是完整的介绍,其他四篇是在第一篇文章的程序和数据资料上的进一步分析。欢迎大家下载和使用,也非常欢迎大家在使用过程中给我们反馈,一起把共享的资料完善,从而更好地为大家的研究工作提供帮助! 大数据心理学的Python入门 http://psych.chinaxiv.org/abs/202203.00020 出柜与否对于性少数群体心理的影响 http://psych.chinaxiv.org/abs/202112.00120 熬夜、城市发展水平与生活满意度关系 http://psych.chinaxiv.org/abs/202112.00163 家有学童,越来越“难”? http://psych.chinaxiv.org/abs/202201.00005 单身与否对生活满意度的影响——基于知乎数据的研究 http://psych.chinaxiv.org/abs/202201.00006 (Comment time:2022-03-07 19:12:33,From: 159.226.113.218 ,0 )
From: 朱廷劭
DOI:10.12074/202203.00020
Recommended references: 吕思华,宋梦瑶,莫柳铃,李东启,朱廷劭.(2022).大数据心理学的Python入门.[ChinaXiv:202203.00020] (Click&Copy)
Version History
[V2] 2022-03-18 21:27:48 chinaXiv:202203.00020V2 Download
[V1] 2022-03-18 15:02:55 chinaXiv:202203.00020v1(View This Version) Download
Related Paper

Download

Current Browse

Change Subject Browse

Cross Subject Browse

  • - NO