Cannot access the function predict() in R2020b with statistics toolbox
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (3)
Ameer Hamza
el 6 de Oct. de 2020
Editada: Ameer Hamza
el 7 de Oct. de 2020
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
el 6 de Oct. de 2020
Hi Pistachio,
predict ships in the System Identification Toolbox.
Thanks,
Raymond
Ver también
Categorías
Más información sobre Classification Ensembles en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!