ディシジョンツリーの文の作り方
Afficher commentaires plus anciens

上の写真のようなディシジョンツリーを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
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!