Supervised Learning, how to examine the model produced

4 ビュー (過去 30 日間)
Jordan
Jordan 2013 年 2 月 25 日
For a type of supervised learning like ,ClassificationDiscriminant.fit, ClassificationKNN.fit, or NaiveBayes.fit Is there a way to examine the model that you produce so that you identify the columns that where important to determining the label? Like a high integer in column 13 gives a large amount of evidence that this is lable 'passing'

採用された回答

Ilya
Ilya 2013 年 2 月 25 日
The answer varies per model.
For linear types of ClassificationDiscriminant, you can use the DeltaPredictor property. This property defines thresholds on the predictor coefficients (predictor means column). If you say "I only want predictors with coefficients above T", you effectively set coefficients for all predictors with DeltaPredictor below T to zero. A large value of DeltaPredictor indicates an important predictor.
ClassificationKNN does not have a built-in method, but you could use function relieff since this function provides estimates of variable importance using nearest neighbor rules.
I have no suggestion for NaiveBayes.
For any data, you can find predictors most relevant for classification using the chosen classifier with the sequentialfs function.
  1 件のコメント
Jordan
Jordan 2013 年 2 月 26 日
Thankyou for your help

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by