Failed to Call Regression Learner's Testing Function
Show older comments
Error using mlearnapp.internal.model.DatasetSpecification>@(t)t(:,predictorNames) (line 172)
Unrecognized table variable name 'priorDeformationage'.
Error in mlearnapp.internal.model.DatasetSpecification>@(x)extractPredictorsFromTableFcn(x) (line 177)
predictorExtractionFcn = @(x) extractPredictorsFromTableFcn(x);
Error in
mlearnapp.internal.model.DatasetSpecification>@(x)exportableModel.predictFcn(predictorExtractionFcn(x))
(line 181)
newExportableModel.predictFcn = @(x) exportableModel.predictFcn(predictorExtractionFcn(x));
Answers (1)
Shubham Rawat
on 23 Mar 2021
0 votes
Hi Abhinav,
In the picture I can clearly see that error is bacause of unrecognized table variable:
For this please check the following things:
- Check if there is a variable 'priorDeformationage' or not in the table.
- Check for Spelling mistake.
- Check if you are accessing the right table.
- Check if the table is your path.
Hope this Helps!
2 Comments
Abhinav Dixit
on 26 Mar 2021
Oriane AUBERT
on 27 Nov 2022
Hi, I have the exact same issue. How did you resolve it? I did check all the points proposed, but it seems that everything is fine...
Thanks in advance.
Categories
Find more on Linear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!