分类学习器中特征选择​选项遇到的问题(Pr​oblems encountered with feature selection options in classification learners)

10 views (last 30 days)
在分类学习器中,点击特征选择,页面就会一直停留在正在打开特征选择选项。然后命令行窗口会出现警告。警告的内容为警告: 执行为类 mlearnapp.internal.ui.toolstrip.GenericButtonView 定义的事件 Clicked 的侦听程序回调时出现错误:
错误使用 normalize
输入参数太多。
In the classification learner, click Feature Selection and the page will stay with the feature selection option open. A warning will then appear in the command line window. Warning for warning: the contents of execution for the class mlearnapp. Internal. UI. Toolstrip. GenericButtonView defined event Clicked listener error correction:
Use normalize incorrectly
Too many input parameters.

Answers (1)

Drew
Drew on 18 Feb 2025
What version of MATLAB are you working with? Please provide more info about your workflow in order to reproduce the issue you are seeing. Some ideas:
  • Maybe you have an m-file on your path that is function-shadowing a function needed by Classification Learner. To check this, try removing all of your own local code from your MATLAB path and try again. Or, try your workflow on MATLAB online (without adding local code), to see if the issue appears on MATLAB online.
  • There is this external bug report from R2024a which is related to feature selection: https://www.mathworks.com/support/bugreports/details/3266486 . This has been fixed in 24aU3 and in 24b. It doesn't sound like this is the issue you are observing.
If this answer helps you, please remember to accept the answer.

Community Treasure Hunt

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

Start Hunting!