How to build an Ensemble Voting Classifier Model?

4 ビュー (過去 30 日間)
Serra Aksoy
Serra Aksoy 2021 年 10 月 12 日
回答済み: Nagwa megahed 2022 年 6 月 3 日
Hello,
I want to build an ensemble voting classifer model as you can see below.
data=xlsread('train_1.xlsx');
I used classification learner app for my train data.
According to the above idea, I want to combine 4 of the classification models that give highest accuracy rate.
For example;
knn, svm, decision tree give output 1 as a label, naive bayes algorithm gives output 2 as label.
Then the model should gives output 1 as for voting criteria after single classification of each model.
(here obtaining the classification accuracy rate of this ensemble model is also important)
Thank you.

回答 (2 件)

Pratyush Roy
Pratyush Roy 2021 年 11 月 1 日

Nagwa megahed
Nagwa megahed 2022 年 6 月 3 日
Did you find the way ? please if you reach to it help me with it as i need to implement the same idea very necessary

カテゴリ

Help Center および File ExchangeClassification Ensembles についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by