Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
How to perform topic modeling using NMF?
Neural Narrator
Jun 28, 2024
28 views
How to perform topic modeling using NMF?
why is it useful?
Let's say you are give 1 millions questions from Quora. And ask to categorize. them based on the question type. This simply is a application of topic modeling.
You can choose to do this two ways:
Using NMF:
here we have document term matrix we are now going to use NMF model
here we can see words in this fashion:
now it's upto us to decide what these word represents and topic model it out.
also you can attach the topic to the quora variable we mentioned in the steps by:
if we further want to put a subject on the topic, which is varibale we can define a dictionary lile: