Prediction new data using regression after export

조회 수: 15 (최근 30일)
Ihsan Ullah Khalil
Ihsan Ullah Khalil 2021년 4월 11일
Hi,
Dear all;
I have trained IV curve dataset for photo voltaic system with guassian regression model with RMSE=0.002. After exporting compact Model, i am getting the following error. I also used load table command to load test data to be predicted. How can i remove this error. I will be very thankful for your kind guidance.
>> T=readtable("Test2.xlsx");
>> yfit = trainedModel.predictFcn(T)
Error using mlearnapp.internal.model.DatasetSpecification>@(t)t(:,predictorNames) (line 163)
Unrecognized variable name 'StandardModel'.
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개)

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by