sklearn

Feature extraction - sklearn文本特征提取 

http://blog.csdn.net/pipisorry/article/details/41957763

http://scikit-learn.org/stable/modules/feature_extraction.html

sklearn之sklearn.feature_extraction.text.CountVectorizer

http://blog.csdn.net/conquerorjia/article/details/24963177

应用scikit-learn做文本分类

http://blog.csdn.net/abcjennifer/article/details/23615947

scikit-learn:CountVectorizer提取tf都做了什么

http://blog.csdn.net/mmc2015/article/details/46866537

sklearn.pipeline.Pipeline类的用法

http://blog.csdn.net/lulei1217/article/details/49582887

sklearn.feature_extraction.text.CountVectorizer

http://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.CountVectorizer.html

应用scikit-learn做文本分类

http://blog.csdn.net/abcjennifer/article/details/23615947

 

Python写入CSV文件的方法

 

http://hyry.dip.jp/tech/book/page/scipy/numpy_file.html

Python将数组(矩阵)存成csv文件,将csv文件读取为数组(矩阵)

 

 
  1. import numpy  
  2. my_matrix = numpy.loadtxt(open("c:\\1.csv","rb"),delimiter=",",skiprows=0)  

 

 

将数组或者矩阵存储为csv文件可以使用如下代码实现:

 
  1. numpy.savetxt('new.csv', my_matrix, delimiter = ',')

 

posted @ 2016-10-21 17:59  乐乐章  阅读(378)  评论(0编辑  收藏  举报