基于Spark的学生实验报告处理分析研究
首发时间:2021-03-23
摘要:为高效的对学生实验报告进行分析处理,挖掘实验报告中潜在的有用信息,本文阐述了在Spark环境下结合数据分析方法对实验报告进行处理的过程。首先采用RDD技术,结合python函数并行读取教学资料中产生的大量word型实验报告,产生新的RDD。针对新的RDD的每一个元素(即每一份word型文件)进行预处理,提取每一份word型学生实验报告的姓名、学号、文段等内容,以并行机制加快处理速度。在预处理的基础之上,利用python的gensim库、结巴中文分词(Jieba)、TD-IDF模型对RDD中的所有word型实验报告进行相似度分析;再利用K-means聚类算法对全部实验报告进行聚类,将不同批次的实验报告分类整理,并利用TSNE降维进行二维可视化展示。实验结果显示,本文提出的方法能有效的对学生实验报告进行处理。
关键词: 教育大数据; Spark; gensim库; 结巴中文分词; TD-IDF模型; Kmeans算法
For information in English, please click here
Research of the Student Lab Report Processing Based on Spark
Abstract:In order to efficiently analyze and process the students\' experimental report and excavate the potential useful information in the experimental report, this paper expounds the process of processing the experimental report in Spark combined with data analysis method.First, we use RDD technology to read a large number of word type experimental reports in teaching materials in parallel with Python function, which will produce new RDD.Then we preprocess each element of the new RDD (i.e. each word file), extract the name, student number, paragraph and other contents of each word student experiment report, and speed up the processing speed with parallel mechanism.On the basis of preprocessing, we use Python\'s gensim, Jieba and TD-IDF model to analyze the similarity of all word type experimental reports in RDD;Then we use k-means clustering algorithm to cluster all the experimental reports, classify the experimental reports of different batches, and use tsne to reduce the dimension for two-dimensional visualization display.The experimental results show that the method proposed in this paper can effectively deal with students\' experimental reports.
Keywords: Educational big data Spark gensim Jieba TD-IDF K-means
基金:
引用

No.****
动态公开评议
共计0人参与
勘误表
基于Spark的学生实验报告处理分析研究
评论
全部评论