gamma value in fitcdiscr

4 visualizaciones (últimos 30 días)
Jaeyoung Shin
Jaeyoung Shin el 20 de Sept. de 2018
Respondida: Yash Ubale el 1 de Oct. de 2018
Hi. I hope to make a cross-validation model (ClassificationPartitionedModel) using 'fitcdiscr'. I hope to set the 'gamma' parameter differently to each of training sets (folds).
But the 'fitcdiscr' supports a single scalar value of the 'gamma'. I can't modify the model manually because the ClassificationPartitionedModel is read-only.
Does anyone have a brilliant idea to solve this problem ?

Respuesta aceptada

Yash Ubale
Yash Ubale el 1 de Oct. de 2018

As of now MATLAB does not support setting different 'gamma' values for separate folds in the same training scenario. What I can suggest is, you can manually separate data into different folds and train different cross-validation models using 'fitcdiscr'. This may require some understanding about how the prediction algorithm actually works.

To know more about prediction follow the link below.

Prediction Using Discriminant Analysis Models - https://www.mathworks.com/help/stats/prediction-using-discriminant-analysis-models.html

Más respuestas (0)

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by