ディシジョンツリーの文の作り方
显示 更早的评论

上の写真のようなディシジョンツリーを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!