How to run new data in regression learner after training model?how to resolve these errors?
조회 수: 1 (최근 30일)
이전 댓글 표시
T=readtable('Book3.xlsx')
yfit=trainedModel.predictFcn(T)
Error using mlearnapp.internal.model.DatasetSpecification>@(t)t(:,predictorNames) (line 163) Unrecognized variable name 'Odometer'.
Error in mlearnapp.internal.model.DatasetSpecification>@(x)extractPredictorsFromTableFcn(splitMatricesInTableFcn(x)) (line 164) predictorExtractionFcn = @(x) extractPredictorsFromTableFcn(splitMatricesInTableFcn(x));
Error in mlearnapp.internal.model.DatasetSpecification>@(x)exportableModel.predictFcn(predictorExtractionFcn(x)) (line 167) newExportableModel.predictFcn = @(x) exportableModel.predictFcn(predictorExtractionFcn(x));
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!