Classification:
Classification is a process of categorizing data or objects into
predefined classes or categories based on their features or
attributes.
Machine Learning classification is a type of supervised
learning technique where an algorithm is trained on a labeled
dataset to predict the class or category of new, unseen data.
The main objective of classification machine learning is to
build a model that can accurately assign a label or category to
a new observation based on its features.
For example, a classification model might be trained on a
dataset of images labeled as either dogs or cats and then
used to predict the class of new, unseen images of dogs or
cats based on their features such as color, texture, and shape.
Classification Types
There are two main classification types in machine learning:
Binary Classification
In binary classification, the goal is to classify the input into
one of two classes or categories.
Example – On the basis of the given health conditions of a
person, we have to determine whether the person has a
certain disease or not.
Multiclass Classification
In multi-class classification, the goal is to classify the input
into one of several classes or categories.
For Example – On the basis of data about different species of
flowers, we have to determine which specie our observation
belongs to.
Binary vs Multi class classification
Multi-Label Classification
In, Multi-label Classification the goal is to predict which of
several labels a new data point belongs to.
This is different from multiclass classification, where each
data point can only belong to one class.
For example, a multi-label classification algorithm could be
used to classify images of animals as belonging to one or
more of the categories cat, dog, bird, or fish.
Regrssion: