TreeBagger Cost input argument is not recognized

2 ビュー (過去 30 日間)
marta prati
marta prati 2018 年 12 月 3 日
A similar question was already posted, but without satisfying replies.
The TreeBagger function seems not to catch the Cost name-pair input argument, as it should do following the documentation. Even if I specify the matrix cost I need (I have unbalanced classes), in the output structure the cost matrix is the default one [0 1;1 0].
Does anyone know how to solve this issue?
Thank you for your help!

回答 (0 件)

カテゴリ

Help Center および File ExchangeClassification Ensembles についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by