标签: text-classification information-retrieval tf-idf feature-selection information-gain
我不知道如何组合TF-IDF结果并将其用于数学信息获取的概念。 有人可以帮我解释一下吗?
答案 0 :(得分:1)
您可以使用sklearn FeatureUnion https://scikit-learn.org/stable/modules/generated/sklearn.pipeline.FeatureUnion.html#sklearn.pipeline.FeatureUnion和sklearn hstack https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.hstack.html