Unrecognized function or variable 'fitrnet'.
조회 수: 2 (최근 30일)
이전 댓글 표시
I have "Statistical and Machine Learning' package in my Matlab. But I can't use "fitrnet" function as introduced here https://www.mathworks.com/help/stats/fitrnet.html.
My code is as below:
cvp = cvpartition(n,'KFold',7);
CVMdl = fitrnet(PhyChemParams,'ARcoeff','CVPartition',cvp,'Standardize',true,'LayerSizes',[20,10]);
yfit = kfoldPredict(CVMdl);
mse = mean((yfit - CVMdl.Y).^2);
The error message is as below:
Unrecognized function or variable 'fitrnet'.
댓글 수: 0
답변 (1개)
Aditya Patil
2021년 5월 12일
fitrnet was introduced in R2021a. Ensure you have the correct release installed, and that you have the statistics and machine learning toolbox installed.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!