Nonlinear regression + Cross Validation = possible?
Show older comments
Hello. World. I want to know is it possible to perform cross validation on nonlinear regression model?
Accepted Answer
More Answers (1)
Greg Heath
on 22 Jun 2017
Edited: Greg Heath
on 22 Jun 2017
I am surprised to hear that SS thinks that cross validation is not used for regression.
Maybe it is just a misunderstanding of terminology but I have used crossvalidation in regression many times.
Typically it is used when there are mounds of data:
1. Randomly divide the data into k subsets.
2. Then design a neural network model with two subsets: one for training
and one for validation.
3. Test the net on the remaining k-2 subsets.
4. If performance of one net is poor, the same data can be used several
(say 10) times with different random initial weights. Then, choose the
best of the 10.
5. Finally you can choose the best of the k nets or combine m (<=k) nets
Hope this helps.
Thank you for formally accepting my answer
Greg
4 Comments
Star Strider
on 22 Jun 2017
‘wesleynotwise’ is not using neural nets, or doing classification. He’s doing bootstrapping to estimate parameters. That’s completely different.
wesleynotwise
on 22 Jun 2017
Greg Heath
on 22 Jun 2017
Edited: Greg Heath
on 22 Jun 2017
It doesn't matter what your model is you can still use
1. k-fold cross-validation where there are k distinct subsets
2. k-fold bootstrapping where there are k nondistinct random subsets.
A driving factor is the ratio of fitting equations to the number of parameters that have to be estimated.
Hope this helps.
Greg
wesleynotwise
on 22 Jun 2017
Edited: wesleynotwise
on 22 Jun 2017
Categories
Find more on Uncertainty Analysis 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!