MATLAB Answers

Statistical and machine learning toolbox - fscmrmr function not fouund

48 ビュー (過去 30 日間)
Sara Saint Pierre Coté
Sara Saint Pierre Coté 2019 年 12 月 2 日
回答済み: Sai Bhargav Avula 2019 年 12 月 4 日
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 件のコメント

Star Strider
Star Strider 2019 年 12 月 2 日
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.

サインイン to comment.

回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2019 年 12 月 4 日
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
Hope this helps !

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。




Translated by