LoginSignup
0
2

More than 5 years have passed since last update.

Random Forestの属性重要度

Posted at

Random Forestの属性重要度

Random Forestを用いて機械学習を行った際,それぞれの属性が分類に対してどの程度重要であるかを知りたい場合,属性の重要度を表示することができます.

今回は,WEKAでRandom Forestを実行した際に重要度を表示する方法をまとめます.

  1. Classifyタブを選択.
  2. Classifierを変更.weka>classifiers>trees>RandomForestを選択.
  3. 詳細設定からComputeAttributeInportanceをTrueに変更.

上記設定をして,実行すると下図のような結果が表示されます.

スクリーンショット 2018-02-08 16.33.28.png

左が重要度で,高いほど重要であることがわかります.右が対応する属性名です.

注意

この重要度は,全ての属性を使用した場合に対しての結果なので,上位にあるからといって,必ず必要な属性であるとは限りません(多分).

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2