到18的粉丝推荐。数据来源是msra的张富峥老师,数据没有很大亮点,微博数据,爬的很多都是微博老用户。
path_list=[]#存放所有路径的列表 labels_list=os.listdir('/home/kobe26366/Jupyter_Notebook/thucnews/THUCNews') for label in labels_list: label_file=os.path.join('/home/kobe26366/Jupyter_Notebook/thucnews/THUCNews',label) for i in os.listdir(label_file): path_list.append((os.path.join(lab...