Reputation: 514
i don't know the concept of how to combine TF-IDF result and use it in information gain mathematically . can someone explain it for me please?
Upvotes: 1
Views: 505
Reputation: 71
You can use sklearn FeatureUnion https://scikit-learn.org/stable/modules/generated/sklearn.pipeline.FeatureUnion.html#sklearn.pipeline.FeatureUnion and sklearn hstack https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.hstack.html
Upvotes: 1