I have fuzzy clustering for Topic modelling and got this
.
There are all total 50 topics[0 to 49] and each topic consists 30 words with a probability multiplicative factor. Now how do I make it as a Classifier input. My final goal to document classification.
Demo
pip install octis
pip install FuzzyTM
from octis.dataset.dataset import Dataset
dataset = Dataset()
dataset.fetch_dataset('DBLP')
data = dataset._Dataset__corpus
print(data[0:5])
pwgt, ptgd = flsaW1.get_matrices()
topics = flsaW1.show_topics()
topics