Undefined function or variable 'trainRegressionModel'.

>> X = timetable2table(T); % regressionLearner perfers to have tables.
X.NumericDate = datenum(X.Date); % add the date as a numeric value
% remove the missing year of data (2016)
X = rmmissing(X);
% Use this command to open the regression learner app and train a coarse
% tree:
% regressionLearner
% this is the model saved by generating code from the app:
[trainedModel, validationRMSE] = trainRegressionModel(X)
Undefined function or variable 'trainRegressionModel'.

Antworten (1)

robin thomas
robin thomas am 10 Dez. 2019
Bearbeitet: robin thomas am 10 Dez. 2019

0 Stimmen

save the matlab code file name as 'trainRegressionMode'

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Feb. 2019

Bearbeitet:

am 10 Dez. 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by