1

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?

victorxu2
  • 494
  • 1
  • 5
  • 10

1 Answers1

1

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

Maya
  • 71
  • 1
  • 8