フィルターのクリア

How to create a table with all the path data from the decision tree?

3 ビュー (過去 30 日間)
I have a tree generated from the "fitrtree" function. I need all paths and it's corresponding data as individual columns in a table. Can I do that?

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 4 月 18 日
編集済み: MathWorks Support Team 2024 年 4 月 18 日
Unfortunately, there is no direct functionality in MATLAB that can create this type of table.
However, you can create such table manually by using the "fitrtree" class properties such as "PredictorNames" and "ResponseName".
Please refer to the following documentation for more information regarding this properties:
I have conveyed this information to the developers and they may consider this as an enhancement for a future release.
 

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGenerate Tests についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by