Sequentialfs, the squential feature selection function of matlab

6 次查看(过去 30 天)
What is the machine learning model used in the squentialfs function of matlab, the squentialfs function of matlab?
Is this model restricted to just a template pre-determined by matlab or the machine classification model can vary according to the developer's need?
For example Neural Networks, Naive Bayes, knn.

回答(1 个)

Bernhard Suhm
Bernhard Suhm 2019-3-5
You determine which model it uses by how you define the function fun that calculates a criterion based on training and test data. Typically, you train some model of your choice on the training data, and return the accuracy or loss of that model on the test data. See also sequentialfs doc page or this example on stackoverflow.
  1 个评论
Letícia Silva
Letícia Silva 2019-3-6
SVMModel = fitcsvm(X,y,'KernelFunction','gaussian', 'KernelScale','auto');
In this example, the default template is SVM. If you want to define a model based on neural networks how would it be?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Pattern Recognition and Classification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by