Sequentialfs, the squential feature selection function of matlab

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일

0 개 추천

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

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?

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

카테고리

도움말 센터File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

질문:

2019년 3월 4일

댓글:

2019년 3월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by