Code for text mining through Bayes Classifier?

2 visualizaciones (últimos 30 días)
Vineet
Vineet el 24 de Abr. de 2013
Respondida: Christopher Creutzig el 26 de Nov. de 2018
I am looking for an example of text mining problem through Bayes Classifier. The problem under consideration is analyzing news text for stock market prediction.

Respuestas (2)

Sarah Palfreyman
Sarah Palfreyman el 30 de Abr. de 2018

Christopher Creutzig
Christopher Creutzig el 26 de Nov. de 2018
MathWorks has examples like this one using classifiers from the Statistics and Machine Learning Toolbox to work on text data. The main problem with converting this to using a naïve Bayes algorithm is that fitcnb is not optimized to work with high-dimensional sparse data, such as a basic word count.
To alleviate that problem, use a dimensionality reduction step, such as fitlsa.

Categorías

Más información sobre Classification en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by