MATLAB Answers

Regression learner error in matlab code

6 views (last 30 days)
NN
NN on 7 Dec 2020
Commented: Pratyush Roy on 29 Dec 2020
When i use
yfit = trainedModel.predictFcn(cartable)
to test for Test data using regression learner , i am getting the below error.
Unable to use a value of type 'cell' as an index..
Kindly help to fix this
  1 Comment
Pratyush Roy
Pratyush Roy on 29 Dec 2020
Hi,
Can you share the full code so that we can reproduce the error from our side?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by