How is Validation and Test cost calculated in Classification Learner app?
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
SATISH SONWANE
el 28 de Ag. de 2023
Comentada: Shreeya
el 29 de Ag. de 2023
I used SVM for classification with LBP features as input. I used 20 percent data for testing in classification learner app with 10-fold Corss-validation. In the summary tab of output it calculates Total Validation and Total Test cost. How does it calculate these numbers?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1466457/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1466457/image.jpeg)
0 comentarios
Respuesta aceptada
Shreeya
el 28 de Ag. de 2023
Hi Satish
The validation and testing cost refer to the total number of misclassifications. By default, the app assigns a penalty of 0 if the observation is classified correctly and a penalty of 1 if the observation is classified incorrectly. The penalties can also be changed according to model requirements. You can read more about it in the documentation below.
Hope this helps!
2 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!