predict does not work with a crossvalidated tree?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey, I am trying to do the following: rtree = RegressionTree.fit(X,Y,'crossval','on'); pred = predict(rtree,X)
But unfortunately I get a error message.
Does anyone know what I can use instead of pred?
Thank you!
0 commentaires
Réponse acceptée
Shashank Prasanna
le 1 Août 2014
When you use the 'crossval' 'on' flag you get a partitioned model as an output. You can predict from this model using
kfoldpredict
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Gaussian Process Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!