Unrecognized function or variable 'fitrnet'.
4 ビュー (過去 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!