Code for text mining through Bayes Classifier?

조회 수: 5 (최근 30일)
Vineet
Vineet 2013년 4월 24일
답변: Christopher Creutzig 2018년 11월 26일
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.

답변 (2개)

Sarah Palfreyman
Sarah Palfreyman 2018년 4월 30일

Christopher Creutzig
Christopher Creutzig 2018년 11월 26일
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.

카테고리

Help CenterFile Exchange에서 Classification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by