Undefined function or variable 'cvpartition'.

Hi,
for the follwoing code:
P = cvpartition(Y,'Holdout',0.20);
Am facing "Undefined function or variable 'cvpartition' " error, while I have already installed "Statistics and Machine Learning Toolbox".
Any advice please, how can I fix this issue.
Thank you

2 Comments

What do
which -all cvpartition
and
ver
return (for latter, can elide your license number...)
Thank you so much

Sign in to comment.

Answers (0)

Asked:

on 19 Aug 2019

Commented:

on 20 Aug 2019

Community Treasure Hunt

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

Start Hunting!