cross validation error meaning?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I need help deciphering what a cross validation error (kfoldloss) of 536 means. I've developed a program that creates a decision tree. The program runs with 2,286 data points for several different variables. Does this mean that the model gets 536 predictions incorrect?
0 comentarios
Respuestas (1)
Mukul Rao
el 24 de Abr. de 2017
Hello,
To begin with I would recommend reading a little about what cross-validation stands for from here:
The documentation for kfoldLoss
says that L is "The loss (mean squared error) between the observations in a fold when compared against predictions made with a tree trained on the out-of-fold data. If mode is 'individual', L is a vector of the losses. If mode is 'average', L is the average loss."
This post has a mathematical representation of the aforementioned statement:
Therefore, the way I see it, the value of 536 indicates that the average mean squared error over the cross validation sets for your model is 536.
If you would like to see the individual loss values corresponding to each of the partitioned data sets, you can set the 'mode' property for kfoldLoss to be 'individual'.
0 comentarios
Ver también
Categorías
Más información sobre Gaussian Process Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!