Failed to Call Regression Learner's Testing Function

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)

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

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.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 18 Mar 2021

Commented:

on 27 Nov 2022

Community Treasure Hunt

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

Start Hunting!