Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 167 Bytes

File metadata and controls

10 lines (7 loc) · 167 Bytes

ML

ML练习之用

nlp/tfidf_feature.py 计算一份文本语料中词的总体TF-IDF特征

nlp/tfidf_vectorizer.py 文本向量化,向量元素为tfidf值