ディシジョンツリーの文の作り方
Show older comments

上の写真のようなディシジョンツリーを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
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!