Statistical and machine learning toolbox - fscmrmr function not fouund

3 visualizzazioni (ultimi 30 giorni)
I recently instaled the Statistical and machine learning toolbox and I tried a couple of feature selection method.
Everything went well till I tried to use fscmrmr (minimum redundancy maximum relevance algorithm), I got the message :
>> load ionosphere
>> [idx,scores] = fscmrmr(X,Y);
Undefined function or variable 'fscmrmr'.
I was working on Matlab 2018b so I tried instaling 2019b and still not working.
Is someone have the same problem and how can I fix it?!
  1 Commento
Star Strider
Star Strider il 2 Dic 2019
The example Rank Predictors by Importance works for me when I run it (R2019b). It should work on a fresh installation.
Use the Contact Us telephone handset icon in the upper right corenr of this page to Contact Support and ask them for help.

Accedi per commentare.

Risposte (1)

Sai Bhargav Avula
Sai Bhargav Avula il 4 Dic 2019
Hi,
As mentioned by Star Strider, fscmrmr function works fine in MATLAB 2019b.
One reason can be, the directories are changed such that the function is no longer on the MATLAB path.
Verify that the fscmrmr is visible (it is on the path or in the current workspace) and that it has been defined before this line of code executes. The 'which' function can help you verify that it is visible to the function where the error occurs.
If you are having problems with your MATLAB search path, run the following MATLAB commands and then restart MATLAB.
restoredefaultpath % This will remove any custom paths
rehash toolboxcache
savepath
Hope this helps !

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by