Clear Filters
Clear Filters

Failed to Call Regression Learner's Testing Function

5 views (last 30 days)
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
(line 181)
newExportableModel.predictFcn = @(x) exportableModel.predictFcn(predictorExtractionFcn(x));

Answers (1)

Shubham Rawat
Shubham Rawat on 23 Mar 2021
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!
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!