When plotting ROC curve; test_labels=double(nominal(imdsTest.Labels)); I am getting an error as " Unrecognized function or variable 'nominal' .
1 view (last 30 days)
Show older comments
When plotting ROC curve;
test_labels=double(nominal(imdsTest.Labels));
I am getting an error as
" Unrecognized function or variable 'nominal' .
I am just wondering what I am missing here. Appriciate any help.
0 Comments
Accepted Answer
VBBV
on 26 Jul 2022
test_labels = nominal(imdsTest.Labels);
double(test_labels) % try this
If you have defined function named nominal in your program which returns double values its best to avoid using on function names and apply on return values, as above
2 Comments
More Answers (0)
See Also
Categories
Find more on Detection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!