Regression learner error in matlab code

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

Hi,
Can you share the full code so that we can reproduce the error from our side?

Sign in to comment.

Answers (0)

Asked:

NN
on 7 Dec 2020

Commented:

on 29 Dec 2020

Community Treasure Hunt

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

Start Hunting!