Statistical and machine learning toolbox - fscmrmr function not fouund

조회 수: 2 (최근 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.

댓글을 달려면 로그인하십시오.

답변 (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