Use perfcurve to update model threshold?!

1 次查看(过去 30 天)
Dear Community,
I am wondering how to use the datapoint of OPTROCPT (see example https://www.mathworks.com/help/stats/perfcurve.html, Plot ROC Curve for Classification Tree)
[X,Y,T,~,OPTROCPT,suby,subnames] = perfcurve(species,diffscore,'versicolor');
to update the classification weight of my model. At the moment, I do not find any property to change the current classification value of 0.5.
Does anyone know a solution on this?
Best regards

回答(0 个)

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by