How to find F1 Score, accuracy, cross entropy, precision, recall using different classifiers

62 次查看(过去 30 天)
I was given a train dataset and a test dataset. The train dataset contains 12000 rows (data) and 53 attributes (columns) and one target column.The test dataset contains 2000 rows(data) and 53 attributes (columns) and one target column (needs to be predicted). I need to identify the best classifier to predict the test dataset targets based on accuracy, F1, cross entropy, recall, precision.

回答(1 个)

Nihal Reddy
Nihal Reddy 2023-4-10
I understand you want to compare different classifiers based on metrics like accuracy, F1, cross entropy, recall, precision on your test dataset.
You can refer to the following MATLAB documentation for understanding Supervised and semi-supervised classification algorithms for binary and multiclass problems-
For comparing different classifers you can use the Classification Learner App to interactively train, validate, and tune classification models. Please refer to the following MATLAB documentation for Classification Learner App resources-

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by