SlideShare a Scribd company logo
1 of 25
Types of
Machine
Learning
Tanvir Siddike Moin
1
Machine Learning
A machine is said to be learning from past Experiences(data feed in) with respect
to some class of tasks if its Performance in a given Task improves with the
Experience.
For example, A machine has to predict whether a customer will buy a specific
year or not. The machine will do it by looking at the previous knowledge/past
experiences i.e the data of products that the customer had bought every year and
if he buys Antivirus every year, then there is a high probability that the
customer is going to buy an antivirus this year as well.
2
Types of ML
3
Task Driven Data Driven
Learn from Mistakes
Machine Learning systems can be classified according to the
amount and type of supervision they get during training.
Supervise
d
Learning
4
In supervised learning, the training
data you feed to the algorithm includes
the desired solutions, called labels.
And Supervised learning model is
getting trained on a labelled dataset.
A labelled dataset is one that has both
input and output parameters. In this
type of learning both training and
validation, datasets are labelled.
5
Both the above figures have labelled data set –
Figure A: It is a dataset of
a shopping store that is
useful in predicting whether
a customer will purchase a
particular product under
consideration or not based on
his/ her gender, age, and
salary.
Input: Gender, Age, Salary
Output: Purchased i.e. 0 or
1; 1 means yes the customer
Figure B: It is a
Meteorological dataset that
serves the purpose of
predicting wind speed based on
different parameters.
Input: Dew Point, Temperature,
Pressure, Relative Humidity,
Wind Direction
Output: Wind Speed
Training
the
system:
• While training the model, data is
usually split in the ratio of 80:20 i.e.
80% as training data and rest as testing
data.
• In training data, we feed input as well
as output for 80% of data. The model
learns from training data only.
• Different machine learning algorithms
are used to build the ML model.
• By learning, it means that the model
will build some logic of its own.
• Once the model is ready then it is good
to be tested.
• At the time of testing, the input is fed
from the remaining 20% data which the
model has never seen before, the model
will predict some value and at last,
will compare it with actual output and
calculate the accuracy.
6
Types of
Supervised
Learning
Classification
It is a Supervised Learning task where
output is having defined labels(discrete
value).
For example in above Figure A, Output –
Purchased has defined labels i.e. 0 or
1; 1 means the customer will purchase
and 0 means that customer won’t
purchase. The goal here is to predict
discrete values belonging to a
particular class and evaluate them on
the basis of accuracy.
• It can be either binary or multi-class
classification.
In binary classification, the model
predicts either 0 or 1; yes or no but in
the case of multi-class classification,
the model predicts more than one class.
• Example: Gmail classifies mails in more
than one class like social, promotions,
updates, forums.
7
Regressio
n
• Another typical task is to predict a
target numeric value, such as the price
of a car, given a set of features
(mileage, age, brand, etc.) called
predictors.
• It is a Supervised Learning task where
output is having continuous value.
• Example in above Figure B, Output – Wind
Speed is not having any discrete value
but is continuous in the particular
range.
• The goal here is to predict a value as
much closer to the actual output value
as our model can and then evaluation is
done by calculating the error value. The
smaller the error the greater the
accuracy of our regression model.
8
9
Example of Supervised Learning
Algorithms:
Clustering
k-Nearest Neighbors
Linear Regression
Logistic Regression
Decision Trees and Random Forests
Gaussian Naive Bayes
Support Vector Machines (SVMs)
Advantages:
• Supervised learning allows collecting data and
produces data output from previous experiences.
• Helps to optimize performance criteria with the help
of experience.
• Supervised machine learning helps to solve various
types of real-world computation problems.
Disadvantages:-
• Classifying big data can be challenging.
• Training for supervised learning needs a lot of
computation time. So, it requires a lot of time.
10
Unsupervised Learning
• It’s a type of learning where we don’t give a target to our
model while training i.e. training model has only input
parameter values. The model by itself has to find which way
it can learn.
• The training data is unlabeled
11
• Data-set in Figure A
is mall data that
contains information
of its clients that
subscribe to them.
Once subscribed they
are provided a
membership card and
so the mall has
complete information
about the customer
and his/her every
purchase. Now using
this data and
unsupervised
learning techniques,
the mall can easily
group clients based
on the parameters we
are feeding in.
12
• Training data we are feeding is –
• Unstructured data: May contain
noisy(meaningless) data, missing values,
or unknown data
• Unlabeled data: Data only contains a
value for input parameters, there is no
targeted value(output). It is easy to
collect as compared to labeled one in
the Supervised approach.
13
Types of Unsupervised Learning
14
 Clustering: Broadly this technique is applied
to group data based on different patterns, our
machine model finds.
 Algorithm to try to detect groups of similar
visitors. At no point do you tell the algorithm
which group a visitor belongs to: it finds
those connections without your help. For
example, it might notice that 40% of your
visitors are males who love comic books and
Associati
on
This technique is a rule-based ML technique that
finds out some very useful relations between
parameters of a large data set. For e.g.
shopping stores use algorithms based on this
technique to find out the relationship between
the sale of one product w.r.t to others sales
based on customer behavior. Once trained well,
such models can be used to increase their sales
by planning different offers.
• Some algorithms:
Clustering:
• K-Means Clustering
• Hierarchical Cluster Analysis (HCA)
• Expectation Maximization
Visualization and dimensionality reduction
• Principal Component Analysis (PCA)
• Kernel PCA
• Association rule learning
• Apriori
• Eclat
15
• Clustering: algorithm to try to detect groups of similar
visitors.
• Visualization algorithms are also good examples of
unsupervised learning algorithms
• You feed them a lot of complex and unlabeled data, and they
data, and they output a 2D or 3D representation of your data
of your data that can easily be plotted.
• These algorithms try to preserve as much structure as they
structure as they can (e.g., trying to keep separate clusters in
separate clusters in the input space from overlapping in the
overlapping in the visualization), so you can understand how the
understand how the data is organized and perhaps identify
perhaps identify unsuspected patterns.
• Dimensionality reduction, in which the goal is to simplify the
data without losing too much information. One way to do this is
way to do this is to merge several correlated features into one.
features into one. For example, a car’s mileage may be very
may be very correlated with its age, so the dimensionality
dimensionality reduction algorithm will merge them into one
them into one feature that represents the car’s wear and tear.
wear and tear. This is called feature extraction.
extraction.
16
17
Anomaly detection — for example, detecting unusual credit card
transactions to prevent fraud, catching manufacturing defects, or
automatically removing outliers from a dataset before feeding it to
another learning algorithm. The system is trained with normal
instances, and when it sees a new instance it can tell whether it
looks like a normal one or whether it is likely an anomaly
• Association Rule Learning, in which the goal is to
dig into large amounts of data and discover interesting
discover interesting relations between attributes. For
attributes. For example, suppose you own a
a supermarket. Running an association rule on your
rule on your sales logs may reveal that people who
people who purchase barbecue sauce and potato chips
potato chips also tend to buy steak. Thus, you may want
Thus, you may want to place these items close to each
close to each other.
18
Supervised
vs.
Unsupervis
ed Machine
Learning
19
Semi-
supervised
Learning:
• Some algorithms can deal
with partially labeled
training data, usually a lot
of unlabeled data and a
little bit of labeled data.
This is called
semisupervised learning
• We can use the unsupervised
techniques to predict labels
and then feed these labels
to supervised techniques.
This technique is mostly
applicable in the case of
image data sets where
usually all images are not
labeled.
20
Reinforcemen
t Learning:
• The learning system,
called an agent in this
context, can observe the
environment, select and
perform actions, and get
rewards in return (or
penalties in the form of
negative rewards.
• It must then learn by
itself what is the best
strategy, called a
policy, to get the most
reward over time. A
policy defines what
action the agent should
choose when it is in a
given situation. 21
22
Batch and
Online
Learning
Batch learning
• In batch learning, the system is
incapable of learning incrementally: it
must be trained using all the available
data. This will generally take a lot of
time and computing resources, so it is
typically done offline. First the system
is trained, and then it is launched into
production and runs without learning
anymore; it just applies what it has
learned. This is called offline
learning.
• Online learning
• In online learning, you train the system
incrementally by feeding it data
instances sequentially, either
individually or by small groups called
mini-batches
23
Instance-Based Versus
Model-Based Learning
Instance-based learning
• If you were to create a spam filter this way,
it would just flag all emails that are
identical to emails that have already been
flagged by users— not the worst solution, but
certainly not the best.
• Instead of just flagging emails that are
identical to known spam emails, your spam
filter could be programmed to also flag emails
that are very similar to known spam emails.
This requires a measure of similarity between
two emails. A (very basic) similarity measure
between two emails could be to count the number
of words they have in common. The system would
flag an email as spam if it has many words in
common with a known spam email.
• This is called instance-based learning: the
system learns the examples by heart, then
generalizes to new cases using a similarity
measure
24
Model-
based
learnin
g
25
• Another way to generalize from a set
of examples is to build a model of
these examples, then use that model to
make predictions. This is called
model-based learning

More Related Content

Similar to Types of Machine Learning- Tanvir Siddike Moin

Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)SwatiTripathi44
 
Chapter 05 Machine Learning.pptx
Chapter 05 Machine Learning.pptxChapter 05 Machine Learning.pptx
Chapter 05 Machine Learning.pptxssuser957b41
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptxNaveenkushwaha18
 
Lesson 1 - Overview of Machine Learning and Data Analysis.pptx
Lesson 1 - Overview of Machine Learning and Data Analysis.pptxLesson 1 - Overview of Machine Learning and Data Analysis.pptx
Lesson 1 - Overview of Machine Learning and Data Analysis.pptxcloudserviceuit
 
Barga Data Science lecture 10
Barga Data Science lecture 10Barga Data Science lecture 10
Barga Data Science lecture 10Roger Barga
 
Machine Learning for AIML course UG.pptx
Machine Learning for AIML course UG.pptxMachine Learning for AIML course UG.pptx
Machine Learning for AIML course UG.pptxJohnWilliam111370
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learningZAMANCHBWN
 
Unit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptxUnit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptxChitrachitrap
 
Understanding Mahout classification documentation
Understanding Mahout  classification documentationUnderstanding Mahout  classification documentation
Understanding Mahout classification documentationNaveen Kumar
 
Chapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfChapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfAschalewAyele2
 
Introduction to Machine Learning.pptx
Introduction to Machine Learning.pptxIntroduction to Machine Learning.pptx
Introduction to Machine Learning.pptxDr. Amanpreet Kaur
 
Week 4 advanced labeling, augmentation and data preprocessing
Week 4   advanced labeling, augmentation and data preprocessingWeek 4   advanced labeling, augmentation and data preprocessing
Week 4 advanced labeling, augmentation and data preprocessingAjay Taneja
 
machine learning.docx
machine learning.docxmachine learning.docx
machine learning.docxJadhavArjun2
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningSujith Jayaprakash
 
AI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptxAI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptxkprasad8
 

Similar to Types of Machine Learning- Tanvir Siddike Moin (20)

Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
 
Chapter 05 Machine Learning.pptx
Chapter 05 Machine Learning.pptxChapter 05 Machine Learning.pptx
Chapter 05 Machine Learning.pptx
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptx
 
Lesson 1 - Overview of Machine Learning and Data Analysis.pptx
Lesson 1 - Overview of Machine Learning and Data Analysis.pptxLesson 1 - Overview of Machine Learning and Data Analysis.pptx
Lesson 1 - Overview of Machine Learning and Data Analysis.pptx
 
Barga Data Science lecture 10
Barga Data Science lecture 10Barga Data Science lecture 10
Barga Data Science lecture 10
 
Machine Learning for AIML course UG.pptx
Machine Learning for AIML course UG.pptxMachine Learning for AIML course UG.pptx
Machine Learning for AIML course UG.pptx
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learning
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Unit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptxUnit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptx
 
Machine Learning_Unit 2_Full.ppt.pdf
Machine Learning_Unit 2_Full.ppt.pdfMachine Learning_Unit 2_Full.ppt.pdf
Machine Learning_Unit 2_Full.ppt.pdf
 
Understanding Mahout classification documentation
Understanding Mahout  classification documentationUnderstanding Mahout  classification documentation
Understanding Mahout classification documentation
 
Machine Learning - Deep Learning
Machine Learning - Deep LearningMachine Learning - Deep Learning
Machine Learning - Deep Learning
 
Chapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfChapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdf
 
Introduction to Machine Learning.pptx
Introduction to Machine Learning.pptxIntroduction to Machine Learning.pptx
Introduction to Machine Learning.pptx
 
Week 4 advanced labeling, augmentation and data preprocessing
Week 4   advanced labeling, augmentation and data preprocessingWeek 4   advanced labeling, augmentation and data preprocessing
Week 4 advanced labeling, augmentation and data preprocessing
 
Machine learning
Machine learningMachine learning
Machine learning
 
machine learning.docx
machine learning.docxmachine learning.docx
machine learning.docx
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
AI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptxAI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptx
 
Machine learning
Machine learningMachine learning
Machine learning
 

More from Tanvir Moin

Fundamentals of Wastewater Treatment Plant
Fundamentals of Wastewater Treatment PlantFundamentals of Wastewater Treatment Plant
Fundamentals of Wastewater Treatment PlantTanvir Moin
 
Basic Principle of Electrochemical Sensor
Basic Principle of  Electrochemical SensorBasic Principle of  Electrochemical Sensor
Basic Principle of Electrochemical SensorTanvir Moin
 
Aerated Lagoons
Aerated Lagoons Aerated Lagoons
Aerated Lagoons Tanvir Moin
 
Assessing and predicting land use/land cover and land surface temperature usi...
Assessing and predicting land use/land cover and land surface temperature usi...Assessing and predicting land use/land cover and land surface temperature usi...
Assessing and predicting land use/land cover and land surface temperature usi...Tanvir Moin
 
SOLID WASTE MANAGEMENT IN THE PHARMACEUTICAL INDUSTRY
SOLID WASTE MANAGEMENT IN THE PHARMACEUTICAL INDUSTRYSOLID WASTE MANAGEMENT IN THE PHARMACEUTICAL INDUSTRY
SOLID WASTE MANAGEMENT IN THE PHARMACEUTICAL INDUSTRYTanvir Moin
 
Wastewater Characteristics in the Pharmaceutical Industry
Wastewater Characteristics in the Pharmaceutical IndustryWastewater Characteristics in the Pharmaceutical Industry
Wastewater Characteristics in the Pharmaceutical IndustryTanvir Moin
 
Pharmaceuticals Industry
Pharmaceuticals IndustryPharmaceuticals Industry
Pharmaceuticals IndustryTanvir Moin
 
UNACCOUNTED FOR WATER IN URBAN WATER SUPPLY SYSTEM FOR DHAKA CITY
UNACCOUNTED FOR WATER IN URBAN WATER SUPPLY SYSTEM FOR DHAKA CITY UNACCOUNTED FOR WATER IN URBAN WATER SUPPLY SYSTEM FOR DHAKA CITY
UNACCOUNTED FOR WATER IN URBAN WATER SUPPLY SYSTEM FOR DHAKA CITY Tanvir Moin
 
Overview of Computer Vision For Footwear Industry
Overview of Computer Vision For Footwear IndustryOverview of Computer Vision For Footwear Industry
Overview of Computer Vision For Footwear IndustryTanvir Moin
 
Statistical Evaluation of PM2.5 Induced Air Pollution of Dhaka City during Co...
Statistical Evaluation of PM2.5 Induced Air Pollution of Dhaka City during Co...Statistical Evaluation of PM2.5 Induced Air Pollution of Dhaka City during Co...
Statistical Evaluation of PM2.5 Induced Air Pollution of Dhaka City during Co...Tanvir Moin
 
An Analysis on Distribution of Traffic Faults in Accidents Based on Driver’s ...
An Analysis on Distribution of Traffic Faults in Accidents Based on Driver’s ...An Analysis on Distribution of Traffic Faults in Accidents Based on Driver’s ...
An Analysis on Distribution of Traffic Faults in Accidents Based on Driver’s ...Tanvir Moin
 
Fabric Manufacturing Technology for Shoe Upper
Fabric Manufacturing Technology for Shoe UpperFabric Manufacturing Technology for Shoe Upper
Fabric Manufacturing Technology for Shoe UpperTanvir Moin
 
YARN MANUFACTURING TECHNOLOGY FOR SHOE UPPER
YARN MANUFACTURING TECHNOLOGY FOR SHOE UPPERYARN MANUFACTURING TECHNOLOGY FOR SHOE UPPER
YARN MANUFACTURING TECHNOLOGY FOR SHOE UPPERTanvir Moin
 
DISPOSAL OF NUCLEAR WASTE
DISPOSAL OF NUCLEAR WASTEDISPOSAL OF NUCLEAR WASTE
DISPOSAL OF NUCLEAR WASTETanvir Moin
 
An Overview of Machine Learning
An Overview of Machine LearningAn Overview of Machine Learning
An Overview of Machine LearningTanvir Moin
 
Artificial Neural Networks for footwear industry
Artificial Neural Networks for footwear industryArtificial Neural Networks for footwear industry
Artificial Neural Networks for footwear industryTanvir Moin
 
Shoes & Shoegear
Shoes & ShoegearShoes & Shoegear
Shoes & ShoegearTanvir Moin
 
Fabric Structure
Fabric StructureFabric Structure
Fabric StructureTanvir Moin
 
Nanomaterial Synthesis Method
Nanomaterial Synthesis MethodNanomaterial Synthesis Method
Nanomaterial Synthesis MethodTanvir Moin
 

More from Tanvir Moin (20)

Fundamentals of Wastewater Treatment Plant
Fundamentals of Wastewater Treatment PlantFundamentals of Wastewater Treatment Plant
Fundamentals of Wastewater Treatment Plant
 
Basic Principle of Electrochemical Sensor
Basic Principle of  Electrochemical SensorBasic Principle of  Electrochemical Sensor
Basic Principle of Electrochemical Sensor
 
Aerated Lagoons
Aerated Lagoons Aerated Lagoons
Aerated Lagoons
 
Assessing and predicting land use/land cover and land surface temperature usi...
Assessing and predicting land use/land cover and land surface temperature usi...Assessing and predicting land use/land cover and land surface temperature usi...
Assessing and predicting land use/land cover and land surface temperature usi...
 
SOLID WASTE MANAGEMENT IN THE PHARMACEUTICAL INDUSTRY
SOLID WASTE MANAGEMENT IN THE PHARMACEUTICAL INDUSTRYSOLID WASTE MANAGEMENT IN THE PHARMACEUTICAL INDUSTRY
SOLID WASTE MANAGEMENT IN THE PHARMACEUTICAL INDUSTRY
 
Wastewater Characteristics in the Pharmaceutical Industry
Wastewater Characteristics in the Pharmaceutical IndustryWastewater Characteristics in the Pharmaceutical Industry
Wastewater Characteristics in the Pharmaceutical Industry
 
Pharmaceuticals Industry
Pharmaceuticals IndustryPharmaceuticals Industry
Pharmaceuticals Industry
 
UNACCOUNTED FOR WATER IN URBAN WATER SUPPLY SYSTEM FOR DHAKA CITY
UNACCOUNTED FOR WATER IN URBAN WATER SUPPLY SYSTEM FOR DHAKA CITY UNACCOUNTED FOR WATER IN URBAN WATER SUPPLY SYSTEM FOR DHAKA CITY
UNACCOUNTED FOR WATER IN URBAN WATER SUPPLY SYSTEM FOR DHAKA CITY
 
Overview of Computer Vision For Footwear Industry
Overview of Computer Vision For Footwear IndustryOverview of Computer Vision For Footwear Industry
Overview of Computer Vision For Footwear Industry
 
Statistical Evaluation of PM2.5 Induced Air Pollution of Dhaka City during Co...
Statistical Evaluation of PM2.5 Induced Air Pollution of Dhaka City during Co...Statistical Evaluation of PM2.5 Induced Air Pollution of Dhaka City during Co...
Statistical Evaluation of PM2.5 Induced Air Pollution of Dhaka City during Co...
 
An Analysis on Distribution of Traffic Faults in Accidents Based on Driver’s ...
An Analysis on Distribution of Traffic Faults in Accidents Based on Driver’s ...An Analysis on Distribution of Traffic Faults in Accidents Based on Driver’s ...
An Analysis on Distribution of Traffic Faults in Accidents Based on Driver’s ...
 
Fabric Manufacturing Technology for Shoe Upper
Fabric Manufacturing Technology for Shoe UpperFabric Manufacturing Technology for Shoe Upper
Fabric Manufacturing Technology for Shoe Upper
 
YARN MANUFACTURING TECHNOLOGY FOR SHOE UPPER
YARN MANUFACTURING TECHNOLOGY FOR SHOE UPPERYARN MANUFACTURING TECHNOLOGY FOR SHOE UPPER
YARN MANUFACTURING TECHNOLOGY FOR SHOE UPPER
 
DISPOSAL OF NUCLEAR WASTE
DISPOSAL OF NUCLEAR WASTEDISPOSAL OF NUCLEAR WASTE
DISPOSAL OF NUCLEAR WASTE
 
An Overview of Machine Learning
An Overview of Machine LearningAn Overview of Machine Learning
An Overview of Machine Learning
 
Artificial Neural Networks for footwear industry
Artificial Neural Networks for footwear industryArtificial Neural Networks for footwear industry
Artificial Neural Networks for footwear industry
 
Shoes & Shoegear
Shoes & ShoegearShoes & Shoegear
Shoes & Shoegear
 
Fabric Structure
Fabric StructureFabric Structure
Fabric Structure
 
Nanomaterial Synthesis Method
Nanomaterial Synthesis MethodNanomaterial Synthesis Method
Nanomaterial Synthesis Method
 
SPECTROSCOPY
SPECTROSCOPYSPECTROSCOPY
SPECTROSCOPY
 

Recently uploaded

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 

Recently uploaded (20)

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 

Types of Machine Learning- Tanvir Siddike Moin

  • 2. Machine Learning A machine is said to be learning from past Experiences(data feed in) with respect to some class of tasks if its Performance in a given Task improves with the Experience. For example, A machine has to predict whether a customer will buy a specific year or not. The machine will do it by looking at the previous knowledge/past experiences i.e the data of products that the customer had bought every year and if he buys Antivirus every year, then there is a high probability that the customer is going to buy an antivirus this year as well. 2
  • 3. Types of ML 3 Task Driven Data Driven Learn from Mistakes Machine Learning systems can be classified according to the amount and type of supervision they get during training.
  • 4. Supervise d Learning 4 In supervised learning, the training data you feed to the algorithm includes the desired solutions, called labels. And Supervised learning model is getting trained on a labelled dataset. A labelled dataset is one that has both input and output parameters. In this type of learning both training and validation, datasets are labelled.
  • 5. 5 Both the above figures have labelled data set – Figure A: It is a dataset of a shopping store that is useful in predicting whether a customer will purchase a particular product under consideration or not based on his/ her gender, age, and salary. Input: Gender, Age, Salary Output: Purchased i.e. 0 or 1; 1 means yes the customer Figure B: It is a Meteorological dataset that serves the purpose of predicting wind speed based on different parameters. Input: Dew Point, Temperature, Pressure, Relative Humidity, Wind Direction Output: Wind Speed
  • 6. Training the system: • While training the model, data is usually split in the ratio of 80:20 i.e. 80% as training data and rest as testing data. • In training data, we feed input as well as output for 80% of data. The model learns from training data only. • Different machine learning algorithms are used to build the ML model. • By learning, it means that the model will build some logic of its own. • Once the model is ready then it is good to be tested. • At the time of testing, the input is fed from the remaining 20% data which the model has never seen before, the model will predict some value and at last, will compare it with actual output and calculate the accuracy. 6
  • 7. Types of Supervised Learning Classification It is a Supervised Learning task where output is having defined labels(discrete value). For example in above Figure A, Output – Purchased has defined labels i.e. 0 or 1; 1 means the customer will purchase and 0 means that customer won’t purchase. The goal here is to predict discrete values belonging to a particular class and evaluate them on the basis of accuracy. • It can be either binary or multi-class classification. In binary classification, the model predicts either 0 or 1; yes or no but in the case of multi-class classification, the model predicts more than one class. • Example: Gmail classifies mails in more than one class like social, promotions, updates, forums. 7
  • 8. Regressio n • Another typical task is to predict a target numeric value, such as the price of a car, given a set of features (mileage, age, brand, etc.) called predictors. • It is a Supervised Learning task where output is having continuous value. • Example in above Figure B, Output – Wind Speed is not having any discrete value but is continuous in the particular range. • The goal here is to predict a value as much closer to the actual output value as our model can and then evaluation is done by calculating the error value. The smaller the error the greater the accuracy of our regression model. 8
  • 9. 9 Example of Supervised Learning Algorithms: Clustering k-Nearest Neighbors Linear Regression Logistic Regression Decision Trees and Random Forests Gaussian Naive Bayes Support Vector Machines (SVMs)
  • 10. Advantages: • Supervised learning allows collecting data and produces data output from previous experiences. • Helps to optimize performance criteria with the help of experience. • Supervised machine learning helps to solve various types of real-world computation problems. Disadvantages:- • Classifying big data can be challenging. • Training for supervised learning needs a lot of computation time. So, it requires a lot of time. 10
  • 11. Unsupervised Learning • It’s a type of learning where we don’t give a target to our model while training i.e. training model has only input parameter values. The model by itself has to find which way it can learn. • The training data is unlabeled 11
  • 12. • Data-set in Figure A is mall data that contains information of its clients that subscribe to them. Once subscribed they are provided a membership card and so the mall has complete information about the customer and his/her every purchase. Now using this data and unsupervised learning techniques, the mall can easily group clients based on the parameters we are feeding in. 12
  • 13. • Training data we are feeding is – • Unstructured data: May contain noisy(meaningless) data, missing values, or unknown data • Unlabeled data: Data only contains a value for input parameters, there is no targeted value(output). It is easy to collect as compared to labeled one in the Supervised approach. 13
  • 14. Types of Unsupervised Learning 14  Clustering: Broadly this technique is applied to group data based on different patterns, our machine model finds.  Algorithm to try to detect groups of similar visitors. At no point do you tell the algorithm which group a visitor belongs to: it finds those connections without your help. For example, it might notice that 40% of your visitors are males who love comic books and
  • 15. Associati on This technique is a rule-based ML technique that finds out some very useful relations between parameters of a large data set. For e.g. shopping stores use algorithms based on this technique to find out the relationship between the sale of one product w.r.t to others sales based on customer behavior. Once trained well, such models can be used to increase their sales by planning different offers. • Some algorithms: Clustering: • K-Means Clustering • Hierarchical Cluster Analysis (HCA) • Expectation Maximization Visualization and dimensionality reduction • Principal Component Analysis (PCA) • Kernel PCA • Association rule learning • Apriori • Eclat 15
  • 16. • Clustering: algorithm to try to detect groups of similar visitors. • Visualization algorithms are also good examples of unsupervised learning algorithms • You feed them a lot of complex and unlabeled data, and they data, and they output a 2D or 3D representation of your data of your data that can easily be plotted. • These algorithms try to preserve as much structure as they structure as they can (e.g., trying to keep separate clusters in separate clusters in the input space from overlapping in the overlapping in the visualization), so you can understand how the understand how the data is organized and perhaps identify perhaps identify unsuspected patterns. • Dimensionality reduction, in which the goal is to simplify the data without losing too much information. One way to do this is way to do this is to merge several correlated features into one. features into one. For example, a car’s mileage may be very may be very correlated with its age, so the dimensionality dimensionality reduction algorithm will merge them into one them into one feature that represents the car’s wear and tear. wear and tear. This is called feature extraction. extraction. 16
  • 17. 17 Anomaly detection — for example, detecting unusual credit card transactions to prevent fraud, catching manufacturing defects, or automatically removing outliers from a dataset before feeding it to another learning algorithm. The system is trained with normal instances, and when it sees a new instance it can tell whether it looks like a normal one or whether it is likely an anomaly
  • 18. • Association Rule Learning, in which the goal is to dig into large amounts of data and discover interesting discover interesting relations between attributes. For attributes. For example, suppose you own a a supermarket. Running an association rule on your rule on your sales logs may reveal that people who people who purchase barbecue sauce and potato chips potato chips also tend to buy steak. Thus, you may want Thus, you may want to place these items close to each close to each other. 18
  • 20. Semi- supervised Learning: • Some algorithms can deal with partially labeled training data, usually a lot of unlabeled data and a little bit of labeled data. This is called semisupervised learning • We can use the unsupervised techniques to predict labels and then feed these labels to supervised techniques. This technique is mostly applicable in the case of image data sets where usually all images are not labeled. 20
  • 21. Reinforcemen t Learning: • The learning system, called an agent in this context, can observe the environment, select and perform actions, and get rewards in return (or penalties in the form of negative rewards. • It must then learn by itself what is the best strategy, called a policy, to get the most reward over time. A policy defines what action the agent should choose when it is in a given situation. 21
  • 22. 22
  • 23. Batch and Online Learning Batch learning • In batch learning, the system is incapable of learning incrementally: it must be trained using all the available data. This will generally take a lot of time and computing resources, so it is typically done offline. First the system is trained, and then it is launched into production and runs without learning anymore; it just applies what it has learned. This is called offline learning. • Online learning • In online learning, you train the system incrementally by feeding it data instances sequentially, either individually or by small groups called mini-batches 23
  • 24. Instance-Based Versus Model-Based Learning Instance-based learning • If you were to create a spam filter this way, it would just flag all emails that are identical to emails that have already been flagged by users— not the worst solution, but certainly not the best. • Instead of just flagging emails that are identical to known spam emails, your spam filter could be programmed to also flag emails that are very similar to known spam emails. This requires a measure of similarity between two emails. A (very basic) similarity measure between two emails could be to count the number of words they have in common. The system would flag an email as spam if it has many words in common with a known spam email. • This is called instance-based learning: the system learns the examples by heart, then generalizes to new cases using a similarity measure 24
  • 25. Model- based learnin g 25 • Another way to generalize from a set of examples is to build a model of these examples, then use that model to make predictions. This is called model-based learning