Statistical and machine learning toolbox - fscmrmr function not fouund

3 次查看(过去 30 天)
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.

请先登录,再进行评论。

回答(1 个)

Sai Bhargav Avula
Sai Bhargav Avula 2019-12-4
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 !

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by