ディシジョンツリーの文の作り方
古いコメントを表示

上の写真のようなディシジョンツリーを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
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!