The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Text classification into topics
Hello,
Apologies for the super-beginner question but I am a super-beginner
I have 4 documents in Spanish that contain about 600 words altogether. I would like RapidMiner to scan each document and classify the words they contain according to the topics they relate to. I know what general words can be expected so I could even feed it a list of words I consider to be related to one another and that belong in a particular class to facilitate the classification process, if it helps!
Ideally, I would like to compare the topic classes (and prominence of the various classes as a proportion of total words) found in the different documents.
I have tried Naive Bayes, K-Means, K-Medoids and Extract Topics from Document (LDA) but despite my good will and reading a lot about these operators (including on this forum) I still cannot figure out what tool is the best to use in my case and how to do this simple text classification.
Please help me. My thesis is at stake
Thank you very much!
Attached is one of my attempts, and the 4 data files
Apologies for the super-beginner question but I am a super-beginner
I have 4 documents in Spanish that contain about 600 words altogether. I would like RapidMiner to scan each document and classify the words they contain according to the topics they relate to. I know what general words can be expected so I could even feed it a list of words I consider to be related to one another and that belong in a particular class to facilitate the classification process, if it helps!
Ideally, I would like to compare the topic classes (and prominence of the various classes as a proportion of total words) found in the different documents.
I have tried Naive Bayes, K-Means, K-Medoids and Extract Topics from Document (LDA) but despite my good will and reading a lot about these operators (including on this forum) I still cannot figure out what tool is the best to use in my case and how to do this simple text classification.
Please help me. My thesis is at stake
Thank you very much!
Attached is one of my attempts, and the 4 data files
0
Answers
Because the first 3 operators you list are going to work on the level of the documents themselves.
Only the LDA topic extraction is going to do something like what you have described without a lot of reworking of your data structure.
You may need to play around with the parameters of that operator to get results that you are satisfied with. LDA can be very sensitive.
You also should do some preprocessing to simplify the text (map/replace similar tokens, exclude stopwords, use stemming, etc.) Text mining is complicated and not generally considered a great starting point for beginners, although TurboPrep and AutoModel do have some nice built-in assistance now if you have access to those wizards.
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts
Thank you for your quick reply. I have done a lot of preprocessing (tokenize, stemming, filter stopwords, filter by length etc) already. Can you recommend any material (videos, tutorials) that could help me in using the LDA operator smoothly?
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts