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

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 Comment

You are asking us to teach you all of machine learning.
I suggest you start here.

Sign in to comment.

Answers (1)

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-

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 6 Apr 2023

Answered:

on 10 Apr 2023

Community Treasure Hunt

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

Start Hunting!