ML 1
ML 1
ML 1
Machine
learning
By Dr. Yang Saring
Ni t Arunachal Pradesh
What is machine learning ?
As per the 1959 definition of Arthur Samuel, machine learning can be defined as a
process of inputting data to the computer systems in a way that the computer will learn the
ability to process and perform the activity in the future without being explicitly programmed
or being fed with similar or extra data.
deals with make/create computer programs that automatically improve with experience
The machine formulates decisions based on experience and mimicks the process of
human-based decision-making
Learning is the process of converting experience into expertise or knowledge.
The input to a learning algorithm is training data, representing experience, and
the output is some expertise, which usually takes the form of another computer
program that can perform some task.
While human learners can rely on common sense to filter out random
meaningless learning conclusions, once we export the task of learning to a
machine, we must provide well defined crisp principles that will protect the
program from reaching senseless or useless conclusions. The development of
such principles is a central goal of the theory of machine learning.
Traditional Programming Vs
Machine Learning
Traditional Programming Vs Machine
Learning
In ML Data is fed to the machine instead of command, an algorithm is selected,
hyperparameters (settings) are configured and adjusted, and the machine is instructed to
conduct its analysis.
The machine proceeds to decipher patterns found in the data through the process of trial
and error.
The machine’s data model, formed from analyzing data patterns, can then be used to
predict future values.
Machine learning entails a three-step process: Data > Model > Action
block diagram of the working
of Machine Learning algorithm
In supervised learning, the training data provided to the machines work as the supervisor
that teaches the machines to predict the output correctly. It applies the same concept as a
student learns in the supervision of the teacher. Hence, the name supervised learning.
Supervised learning is a process of providing input data as well as correct output data to
the machine learning model. The aim of a supervised learning algorithm is to find a
mapping function to map the input variable(x) with the output variable(y).
How Supervised Learning
Works?
Data Collection and Labelling
to collect a representative and diverse dataset
The labeling process involves assigning the correct output label to each input example in the dataset
Feature Extraction
The relevant features are extracted from the input data.
Feature extraction involves selecting or transforming the input features to capture the most relevant information for the learning task to
improve performance and reduce complexity.
Regression
Regression algorithms are used if there is a relationship between the input variable and the output variable.
In regression tasks, the machine learning program must estimate – and understand – the relationships
among variables.
Classification
Classification algorithms are used when the output variable is categorical, which means there are two classes such
as Yes-No, Male-Female, True-false, etc.
In classification tasks, the machine learning program must draw a conclusion from observed values and determine
to what category new observations belong
Supervised Learning
Algorithms
Some of the most popularly used supervised learning algorithms are:
Linear Regression
Logistic Regression
Support Vector Machine
K Nearest Neighbor
Decision Tree
Random Forest
Naive Bayes
Merits & Demerits of
Supervised Learning
Merits :
With the help of supervised learning, the model can predict the output on the basis of prior
experiences.
In supervised learning, we can have an exact idea about the classes of objects.
Supervised learning model helps us to solve various real-world problems such as fraud detection,
spam filtering, etc.
Positive Negative
Reinforcement Reinforcement