[ML] {ud120}レッスン4:デシジョンツリー

線形分離データ

 

 

 

 

 

 複数のリニア質問

 

 

 

 

 

 

 

ディシジョン・ツリーまずスプリットを構築 

 

 

 

 

 意思決定ツリーのコーディング

 

 

 

 

 

 

 

 

 

 ディシジョン・ツリー・パラメータ

 

 

 

 

 データ不純物とエントロピー

 

 

 

 

 エントロピーの式

 

 

このスライドに書かれたエントロピーの式に誤りがあります。マイナスがあるはずです( - )の和の前に署名します:

エントロピー=  - \ sum_i(P_I)\ log_2(P_I)- Σ I p個のI ログ2 P Iを

 

 

 

 

 

IG = 1

 

 

 

 基準パラメータのチューニング

 

ジニは、純度の別の測定値であります

 

 

 

ディシジョン・ツリーミニプロジェクト

 

In this project, we will again try to identify the authors in a body of emails, this time using a decision tree. The starter code is in decision_tree/dt_author_id.py.

Get the data for this mini project from here.

Once again, you'll do the mini-project on your own computer and enter your answers in the web browser. You can find the instructions for the decision tree mini-project here.

 

おすすめ

転載: www.cnblogs.com/ecoflex/p/10987754.html