Undefined function or variable 'trainRegressionModel'.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
>> 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'.
0 comentarios
Respuestas (1)
robin thomas
el 10 de Dic. de 2019
Editada: robin thomas
el 10 de Dic. de 2019
save the matlab code file name as 'trainRegressionMode'
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!