Code for text mining through Bayes Classifier?

2 ビュー (過去 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 Center および File ExchangeClassification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by