ディシジョンツリーの文の作り方
Mostra commenti meno recenti

上の写真のようなディシジョンツリーをmatlabで作りたいです。 どのようにすればよいでしょうか。 矩形波の部分は無視していただいてもかまいません。 他の部分だけでもいいので作成方法のご存知の方はどうか教えていただけませんか。なにとぞよろしくお願いします。
---------------------------現在作成しているコード------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ if x2<-15 then node 2 elseif x2>=10 then node 3 else setosa end class = setosa if x4<145.3 then node 4 elseif x4>=145.3 then node 5 else versicolor end
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!