Cannot access the function predict() in R2020b with statistics toolbox
1 次查看(过去 30 天)
显示 更早的评论
I cannot access the function predict() that is introduced in R2018a.,
whereas 'Statistics and Machine Learning Toolbox' is installed.
Details are as follows:
>> ver
---------------------------------------------------------------------------------------------------
MATLAB version: 9.9.0.1467703 (R2020b)
MATLAB license number: ********
Operating system: Mac OS X Version: 10.15.7 Build: 19H2
Java version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
---------------------------------------------------------------------------------------------------
MATLAB version 9.9 (R2020b)
Curve Fitting Toolbox version 3.5.12 (R2020b)
Signal Processing Toolbox version 8.5 (R2020b)
Statistics and Machine Learning Toolbox version 12.0 (R2020b)
Wavelet Toolbox version 5.5 (R2020b)
>> license('checkout','statistics_toolbox')
ans =
1
However, '>> which predict -all' returns negative.
Who can tell me why I cannot use predict() function?
'predict.m' file is found in MATLAB_R2020b.app > toolbox > stats > classreg > +classreg > +learning > +svmutils > +gpu,
and the code is shown as '% GPU entry point for the SVM predict mex function.'.
0 个评论
回答(3 个)
Ameer Hamza
2020-10-6
编辑:Ameer Hamza
2020-10-7
How are you calling the predict()? Note that in statistical and ML toolbox, predict() is defined as a method, rather than an independent function. So it will not automatically be shown by which -all (It will be shown if the object containing this method is loaded in the workspace). It will only be called if the first input is a model object, e.g., linear model from the toolbox.
Raymond Norris
2020-10-6
Hi Pistachio,
predict ships in the System Identification Toolbox.
Thanks,
Raymond
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!