Machine Learning
Machine Learning
• Machine learning is a field of computer
science that uses statistical techniques to
give computer systems the ability to
"learn” with data, without being
Explicitly/Traditional programmed.
• Machine learning is technology which
enables computers to learn automatically
from past data and building model to
predict output for future value.
Traditional/Explicitly Program
Data
Program Computer Output
Machine Learning
Data
Output Computer Program
Scenarios use ML
1. In some scenarios, you can't write a program or modify
every day and that's where Machine Learning helps.
Example –build a email spam classifier
2. Machine Learning is used for complex tasks where there
are countless possible cases that are difficult
Example – Image classification, you can classify dog that
in image dog is present or not
3. Datamining : -Identify Hidden pattern.
Example - reliance smart, D Mart place things.
Cont…
Example 1 Example 2
A Person Previously Buy online
Model • i phone
X Y Y=X+5 • i pad
Model • i TV
1 6 Finding Patterns • Now he
2 7 search to
3 8 buy Watch
4 9
5 10
6 ? ?
Machine Learning Types
Machine Learning
Supervise Un-Supervise Semi Supervise Reinforcement
Types of Data:
Numerical Data – Data in the form of numbers
Example: Age, Marks, CGPA, Package, weight etc.
Categorical Data – Data in the form of categories or labels
Example: Gender, Placement (Yes/No), Department,
Nationality etc.
Supervised Learning
Regression Classification
We will discuss some examples to determine whether they are
Regression or Classification problems:
1) Given house data, you need to predict the price of a house →
2) Given email data, you need to predict whether an email is spam or
not →
3) Given weather data, you need to predict whether it will rain today
or not →
4) Given an image, you need to determine whether a dog is present
or not →
5) Given an image, you need to predict how many dogs are present
6) Predicting a person's age based on their height and weight →
7) Predicting the number of tickets sold for a concert based on past
data →
8) Determining whether a loan applicant will default or not →
9) Estimating the fuel efficiency (miles per gallon) of a car based on
engine size →
Un-Supervised Learning
Dimension Anomaly Association
Clustering Reduction Detection rule learning
Clustering
Supervised Learning
Regression Classification
• Linear Regression • Logistic Regression
Simple • K-Near Neighbors
Multiple • Decision Tree
• Non-Linear/Polynomial • Support Vector Machine
Simple (SVM)
Multiple • Random Forest
Cont.…..
Supervised Learning Unsupervised Learning
Classification Clustering Dimension
Regression (When o/p is
(When o/p is Numerical) Categorical) - K-Means Reduction
- Linear Regression - Logistic Clustering
- Simple Regression - Hierarchic -Principal Component
- Multiple - K-Near al Analysis (PCA)
- Non Linear / Neighbors Clustering - Linear Discriminant
Polynomial Analysis (LDA)
- Simple
- Decision Tree
- Multiple - Support Vector
Machine (SVM)
- Random Forest
Use of Machine Learning
Scenario:
1) You can not write program/cases for every
thing : Ex. Email Spam Detection
2) You Can’t Write Cases : Ex. Image Classifier
(Dog classifier)
3) Some time some information is so much
hidden : Datamining
Expert system
Thanks