Undefined function or variable 'trainRegressionModel'.

4 ビュー (過去 30 日間)
Kriszta Domahidi
Kriszta Domahidi 2019 年 2 月 5 日
編集済み: robin thomas 2019 年 12 月 10 日
>> 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 日
save the matlab code file name as 'trainRegressionMode'

カテゴリ

Help Center および File ExchangeSupport Vector Machine Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by