You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm very interested in your package and enjoying it a lot so far.
I wonder if there is a way to show the term weights of the topic vocabularies after modeling.
Also I noticed there is no TF.IDF term weighting measure, is there a possibility to add it to the term weighting schemes?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi @juneMJ
Thank you for your suggestion.
As you said, current version of tomotopy doesn't provide API for accessing weights value of each term of vocabularies or for adding custom term weighting schemes. I'll add it for the next update plan.
However, apart from this, I think you can just use IDF term weighting instead of TF.IDF. Because term weighting is applied every terms in each document, so if you have 10 term Xs in the document, IDF is applied to each term, and the sum of weights of term X in the document will be 10 * IDF(X). It is exactly equal to the result of tf-idf.
On the other hand, if you set the term weight of X is 10 * IDF(X) as following tf-idf, the sum of weights of term X in the document will be 10 * 10 * IDF(X).
Hello,
I'm very interested in your package and enjoying it a lot so far.
I wonder if there is a way to show the term weights of the topic vocabularies after modeling.
Also I noticed there is no TF.IDF term weighting measure, is there a possibility to add it to the term weighting schemes?
Thank you.
The text was updated successfully, but these errors were encountered: