Question about the CVmodels generated from regression learner app in machine learning toolbox?
1 次查看(过去 30 天)
显示 更早的评论
In the regression learner, one can choose the "cross validation" option (i.e., 5 fold) to generate a model and use that model to make predictions using mdl.predictfun(testdata)
However, if done by code, when "cross validation" is specified, the model generated is "RegressionPartitionedEnsemble" type, which cannot be used directly using predict(mdl, testdata).
I'm just wondering, how is the CVmodel generated with the app learner? what is the equivalent way to generate it with code so that one can use to make predictions?
0 个评论
回答(1 个)
Amit Doshi
2017-7-19
Hello Xi,
You can generate the code which was used by the app learner to train the model by following the below link:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!