Classification algorithm in machine learning


Example: Classification of types of crops, Classification of types of music. Types of classification algorithms in machine learning


Download 232.74 Kb.
bet2/4
Sana09.03.2023
Hajmi232.74 Kb.
#1255916
1   2   3   4
Bog'liq
Machine Learning classification

Example: Classification of types of crops, Classification of types of music.

Types of classification algorithms in machine learning:
Classification algorithms can be mainly divided into two categories:

  • Linear models

  • Non-linear models

    • K-Nearest Neighbors

    • Kernel SVM

    • Naive Bayes

    • Decision tree classification

    • Random forest classification

Evaluating a classification model in machine learning:
Once our model is complete, we need to evaluate its performance.
The most important task in building any machine learning model is to evaluate its performance. So the question is: How do you measure the success of a machine learning model? How do we know when to stop training and assessment and when to call it good?

For a given sample observation, the true class is either positive or negative. Similarly, the predicted class is either positive or negative.
There are four categories related to the actual and predicted class of observations:
True Positive (TP): Both the actual and predicted values of a given observation are positive.
False positive (FP): A given observation is negative, but the predicted value is positive.
True Negative (TN): Both the actual and predicted values of a given observation are negative.
False negative (FN): A given observation is predicted to be negative even though it is actually positive.
FP and FN are classification errors . In statistics, FPs are called Type I errors and FNs are called Type II errors. In some cases, type II errors are dangerous.
For example, if our classifier predicts a house fire, a Type I error is a false alarm.
On the other hand, a Type II error means that the house is on fire and the fire department is not aware.

Download 232.74 Kb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling