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'.

回答 (1 件)

robin thomas
robin thomas 2019 年 12 月 10 日
編集済み: robin thomas 2019 年 12 月 10 日

0 投票

save the matlab code file name as 'trainRegressionMode'

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

質問済み:

2019 年 2 月 5 日

編集済み:

2019 年 12 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by