MATLAB Answers

xi
0

Question about the CVmodels generated from regression learner app in machine learning toolbox?

xi
さんによって質問されました 2017 年 7 月 12 日
最新アクティビティ Amit Doshi
さんによって 回答されました 2017 年 7 月 19 日
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 件のコメント

サインイン to comment.

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 件のコメント

サインイン to comment.



Translated by