SlideShare a Scribd company logo
1 of 27
http://ocl.space
http://ocl.space
What is Machine Learning?
http://ocl.space
Types of Machine Learning
● Supervised Learning
● Unsupervised Learning
● Reinforcement Learning
http://ocl.space
Supervised Learning
y = f(X)
X is the features/inputs
y is the target/output
f(X) is the learning function
Types :
● Regression
● Classification
http://ocl.space
Unsupervised Learning
● We have input data (X) but no corresponding output variable (y).
● The goal is to model the distribution of the data in order to learn more
about the data.
● Types of unsupervised learning :
--> Clustering
--> Association
http://ocl.space
Other learning methods...
● Reinforcement learning
● Semi-supervised learning
● Transfer learning
http://ocl.space
Regression
● A form of predictive modelling technique which investigates the relationship
between a dependent (target) and independent variable (s) (predictor).
● It is used for forecasting, time series modelling and finding the causal effect
relationship between the variables.
● It indicates the significant relationships between dependent variable and
independent variable.
● It indicates the strength of impact of multiple independent variables on a
dependent variable.
● Types of regression : Linear, Logistic, Polynomial, Stepwise, Ridge, Lasso
and ElasticNet
http://ocl.space
Classification
● A classification problem is when the output variable is a category.
● Examples : Emails filtering, Spam/Not Spam
http://ocl.space
Clustering and Association
● The aim is to segregate groups with similar traits and assign them into clusters.
● Types of Clustering :
--> Hard Clustering: In hard clustering, each data point either belongs to a cluster
completely or not.
--> Soft Clustering: In soft clustering, instead of putting each data point into a
separate cluster, a probability or likelihood of that data point to be in those
clusters is assigned.
● When we want to discover rules that describe portions of the input data it is known
as association problem.
http://ocl.space
Linear Regression
● It is used to estimate real values (cost of houses, number of calls, total sales etc.)
based on continuous variable(s).
● Here, we establish relationship between independent and dependent variables
by fitting a best line.
● This best fit line is known as regression line and represented by a linear equation
Y= a * X + b
Y – Dependent Variable
a – Slope
X – Independent variable
b – Intercept
http://ocl.space
Linear Regression
http://ocl.space
Logistic Regression
● It is used to estimate discrete values ( Binary values like 0/1, yes/no, true/false )
based on given set of independent variable(s).
● It predicts the probability of occurrence of an event by fitting data to a logit function.
http://ocl.space
Logistic Regression
http://ocl.space
Overfitting & Underfitting
● Overfitting happens when a model performs too well on training data but does
not perform well on unseen data.
● Underfitting when a model does not perform well on training data as well as
unseen data.
http://ocl.space
Cross Validation
● A method to test how well a model performs on unseen data.
● Types of Cross Validation methods :
--> Hold out method
--> K-fold method
--> Leave-one-out cross validation
http://ocl.space
Learning = Representation + Evaluation +
Optimization
http://ocl.space
Naive Bayes
● Naive Bayes is a supervised learning algorithm which is based on bayes theorem.
● The word naive comes from the assumption of independence among features.
● We can write bayes theorem as follows :
Where,
P(x) is the prior probability of a feature.
P(x | y) is the probability of a feature given target. It's also known as likelihood.
P(y) is the prior probability of a target or class in case of classification.
p(y | x) is the posterior probability of target given feature.
http://ocl.space
Support Vector Machines (SVMs)
● SVMs are among the best supervised learning algorithms.
● It is effective in high dimensional space and it is memory efficient as well.
● We plot each data item as a point in n-dimensional space andperform classification
by finding the hyperplane that differentiate the two classes very well.
● We can draw m number of hyperplanes.
● The optimal hyperplane is obtained by maximizing the margin.
http://ocl.space
Support Vector Machines (SVMs)
http://ocl.space
Decision Tree
● Decision Tree is the supervised learning algorithm which can be used for
classification as well as regression problems.
● Here we split population into set of homogeneous sets by asking set of questions.
● Example : To decide what to do on a particular day.
http://ocl.space
Decision Tree
http://ocl.space
Random Forest
● Random Forest is the most common type of Ensemble Learning.
● It is a collection of decision trees.
● To classify a new object based on attributes, each tree gives a classification
and we say the tree “votes” for that class. The forest chooses the classification
having the most votes (over all the trees in the forest).
● There are plethora of advantages of random forest such as they are fast to train,
requires no input preparation.
● One of the disadvantage of random forest is that our model may become too large.
http://ocl.space
K-nearest Neighbors (KNN)
● KNN can be used for both classification and regression problems.
● It stores all available cases and classifies new cases by a majority vote of its k
neighbors.
● KNN is computationally expensive.
http://ocl.space
K-means clustering
● K-means is one of the simplest unsupervised learning algorithm used for
clustering problem.
● Our goal is to group objects based on their features similarity.
● Basic idea behind K-means is, we define k centroids,
that is, one for each cluster.
http://ocl.space
Neural Networks
● Neural Network is an information processing system, that is, we pass some
input to the Neural Network, some processing happens and we get some output.
● Neural Networks are inspired from biological connection of neurons and how
information processing happens in the brain.
http://ocl.space
Let’s get started...

More Related Content

What's hot

Java Tutorial Lab 9
Java Tutorial Lab 9Java Tutorial Lab 9
Java Tutorial Lab 9Berk Soysal
 
Machine Learning - Dataset Preparation
Machine Learning - Dataset PreparationMachine Learning - Dataset Preparation
Machine Learning - Dataset PreparationAndrew Ferlitsch
 
Unit 1 abstract data types
Unit 1 abstract data typesUnit 1 abstract data types
Unit 1 abstract data typesLavanyaJ28
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithmsiqbalphy1
 
Machine Learning - Dummy Variable Conversion
Machine Learning - Dummy Variable ConversionMachine Learning - Dummy Variable Conversion
Machine Learning - Dummy Variable ConversionAndrew Ferlitsch
 
Abstract data types (adt) intro to data structure part 2
Abstract data types (adt)   intro to data structure part 2Abstract data types (adt)   intro to data structure part 2
Abstract data types (adt) intro to data structure part 2Self-Employed
 
Lecture 01 Intro to DSA
Lecture 01 Intro to DSALecture 01 Intro to DSA
Lecture 01 Intro to DSANurjahan Nipa
 
introduction to Data Structure and classification
 introduction to Data Structure and classification introduction to Data Structure and classification
introduction to Data Structure and classificationchauhankapil
 
Mca ii dfs u-1 introduction to data structure
Mca ii dfs u-1 introduction to data structureMca ii dfs u-1 introduction to data structure
Mca ii dfs u-1 introduction to data structureRai University
 
Introduction to data structure
Introduction to data structureIntroduction to data structure
Introduction to data structureZaid Shabbir
 
Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using javaNarayan Sau
 
Classes,object and methods jav
Classes,object and methods javClasses,object and methods jav
Classes,object and methods javPadma Kannan
 
Data structure and algorithm All in One
Data structure and algorithm All in OneData structure and algorithm All in One
Data structure and algorithm All in Onejehan1987
 
DIGITAL ELECTRONICS AND LOGIC DESIGN
DIGITAL ELECTRONICS AND LOGIC DESIGN DIGITAL ELECTRONICS AND LOGIC DESIGN
DIGITAL ELECTRONICS AND LOGIC DESIGN Uttam Singh
 
Applications of data structures
Applications of data structuresApplications of data structures
Applications of data structuresWipro
 

What's hot (20)

Java Tutorial Lab 9
Java Tutorial Lab 9Java Tutorial Lab 9
Java Tutorial Lab 9
 
Machine Learning - Dataset Preparation
Machine Learning - Dataset PreparationMachine Learning - Dataset Preparation
Machine Learning - Dataset Preparation
 
Data structure
Data structureData structure
Data structure
 
Unit 1 abstract data types
Unit 1 abstract data typesUnit 1 abstract data types
Unit 1 abstract data types
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithms
 
Machine Learning - Dummy Variable Conversion
Machine Learning - Dummy Variable ConversionMachine Learning - Dummy Variable Conversion
Machine Learning - Dummy Variable Conversion
 
Abstract data types (adt) intro to data structure part 2
Abstract data types (adt)   intro to data structure part 2Abstract data types (adt)   intro to data structure part 2
Abstract data types (adt) intro to data structure part 2
 
Lecture 1 and 2
Lecture 1 and 2Lecture 1 and 2
Lecture 1 and 2
 
Cis435 week04
Cis435 week04Cis435 week04
Cis435 week04
 
Lecture 01 Intro to DSA
Lecture 01 Intro to DSALecture 01 Intro to DSA
Lecture 01 Intro to DSA
 
introduction to Data Structure and classification
 introduction to Data Structure and classification introduction to Data Structure and classification
introduction to Data Structure and classification
 
Mca ii dfs u-1 introduction to data structure
Mca ii dfs u-1 introduction to data structureMca ii dfs u-1 introduction to data structure
Mca ii dfs u-1 introduction to data structure
 
Types Of Data Structure
Types Of Data StructureTypes Of Data Structure
Types Of Data Structure
 
Introduction to data structure
Introduction to data structureIntroduction to data structure
Introduction to data structure
 
Data structure
Data structureData structure
Data structure
 
Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using java
 
Classes,object and methods jav
Classes,object and methods javClasses,object and methods jav
Classes,object and methods jav
 
Data structure and algorithm All in One
Data structure and algorithm All in OneData structure and algorithm All in One
Data structure and algorithm All in One
 
DIGITAL ELECTRONICS AND LOGIC DESIGN
DIGITAL ELECTRONICS AND LOGIC DESIGN DIGITAL ELECTRONICS AND LOGIC DESIGN
DIGITAL ELECTRONICS AND LOGIC DESIGN
 
Applications of data structures
Applications of data structuresApplications of data structures
Applications of data structures
 

Similar to Machine Learning using Python

Artificial Intelligence Overview
Artificial Intelligence OverviewArtificial Intelligence Overview
Artificial Intelligence OverviewSuraj Kumar Jana
 
Machine Learning Notes for beginners ,Step by step
Machine Learning Notes for beginners ,Step by stepMachine Learning Notes for beginners ,Step by step
Machine Learning Notes for beginners ,Step by stepSanjanaSaxena17
 
Classifiers
ClassifiersClassifiers
ClassifiersAyurdata
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learningAmAn Singh
 
Neural Nets Deconstructed
Neural Nets DeconstructedNeural Nets Deconstructed
Neural Nets DeconstructedPaul Sterk
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3Luis Borbon
 
ML SFCSE.pptx
ML SFCSE.pptxML SFCSE.pptx
ML SFCSE.pptxNIKHILGR3
 
Machine learning Module-2, 6th Semester Elective
Machine learning Module-2, 6th Semester ElectiveMachine learning Module-2, 6th Semester Elective
Machine learning Module-2, 6th Semester ElectiveMayuraD1
 
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkOBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkshesnasuneer
 
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkOBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkshesnasuneer
 
SVM - Functional Verification
SVM - Functional VerificationSVM - Functional Verification
SVM - Functional VerificationSai Kiran Kadam
 
V2.0 open power ai virtual university deep learning and ai introduction
V2.0 open power ai virtual university   deep learning and ai introductionV2.0 open power ai virtual university   deep learning and ai introduction
V2.0 open power ai virtual university deep learning and ai introductionGanesan Narayanasamy
 
Machine Learning Comparative Analysis - Part 1
Machine Learning Comparative Analysis - Part 1Machine Learning Comparative Analysis - Part 1
Machine Learning Comparative Analysis - Part 1Kaniska Mandal
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningKnoldus Inc.
 
Aaa ped-16-Unsupervised Learning: clustering
Aaa ped-16-Unsupervised Learning: clusteringAaa ped-16-Unsupervised Learning: clustering
Aaa ped-16-Unsupervised Learning: clusteringAminaRepo
 
Aaa ped-12-Supervised Learning: Support Vector Machines & Naive Bayes Classifer
Aaa ped-12-Supervised Learning: Support Vector Machines & Naive Bayes ClassiferAaa ped-12-Supervised Learning: Support Vector Machines & Naive Bayes Classifer
Aaa ped-12-Supervised Learning: Support Vector Machines & Naive Bayes ClassiferAminaRepo
 
2018 p 2019-ee-a2
2018 p 2019-ee-a22018 p 2019-ee-a2
2018 p 2019-ee-a2uetian12
 

Similar to Machine Learning using Python (20)

Artificial Intelligence Overview
Artificial Intelligence OverviewArtificial Intelligence Overview
Artificial Intelligence Overview
 
Machine Learning Notes for beginners ,Step by step
Machine Learning Notes for beginners ,Step by stepMachine Learning Notes for beginners ,Step by step
Machine Learning Notes for beginners ,Step by step
 
Classifiers
ClassifiersClassifiers
Classifiers
 
AI Algorithms
AI AlgorithmsAI Algorithms
AI Algorithms
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learning
 
fINAL ML PPT.pptx
fINAL ML PPT.pptxfINAL ML PPT.pptx
fINAL ML PPT.pptx
 
Neural Nets Deconstructed
Neural Nets DeconstructedNeural Nets Deconstructed
Neural Nets Deconstructed
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3
 
ML SFCSE.pptx
ML SFCSE.pptxML SFCSE.pptx
ML SFCSE.pptx
 
Machine learning Module-2, 6th Semester Elective
Machine learning Module-2, 6th Semester ElectiveMachine learning Module-2, 6th Semester Elective
Machine learning Module-2, 6th Semester Elective
 
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkOBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
 
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkOBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
 
SVM - Functional Verification
SVM - Functional VerificationSVM - Functional Verification
SVM - Functional Verification
 
Ai saturdays presentation
Ai saturdays presentationAi saturdays presentation
Ai saturdays presentation
 
V2.0 open power ai virtual university deep learning and ai introduction
V2.0 open power ai virtual university   deep learning and ai introductionV2.0 open power ai virtual university   deep learning and ai introduction
V2.0 open power ai virtual university deep learning and ai introduction
 
Machine Learning Comparative Analysis - Part 1
Machine Learning Comparative Analysis - Part 1Machine Learning Comparative Analysis - Part 1
Machine Learning Comparative Analysis - Part 1
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Aaa ped-16-Unsupervised Learning: clustering
Aaa ped-16-Unsupervised Learning: clusteringAaa ped-16-Unsupervised Learning: clustering
Aaa ped-16-Unsupervised Learning: clustering
 
Aaa ped-12-Supervised Learning: Support Vector Machines & Naive Bayes Classifer
Aaa ped-12-Supervised Learning: Support Vector Machines & Naive Bayes ClassiferAaa ped-12-Supervised Learning: Support Vector Machines & Naive Bayes Classifer
Aaa ped-12-Supervised Learning: Support Vector Machines & Naive Bayes Classifer
 
2018 p 2019-ee-a2
2018 p 2019-ee-a22018 p 2019-ee-a2
2018 p 2019-ee-a2
 

More from Suraj Kumar Jana

Convolution Neural Network
Convolution Neural NetworkConvolution Neural Network
Convolution Neural NetworkSuraj Kumar Jana
 
Artificial Neural Network: A Brief Overview
Artificial Neural Network: A Brief OverviewArtificial Neural Network: A Brief Overview
Artificial Neural Network: A Brief OverviewSuraj Kumar Jana
 
Mathematics For Artificial Intelligence
Mathematics For Artificial IntelligenceMathematics For Artificial Intelligence
Mathematics For Artificial IntelligenceSuraj Kumar Jana
 
Artificial Intelligence: A Brief Overview
Artificial Intelligence: A Brief OverviewArtificial Intelligence: A Brief Overview
Artificial Intelligence: A Brief OverviewSuraj Kumar Jana
 
Introduction to Chatbot Development
Introduction to Chatbot DevelopmentIntroduction to Chatbot Development
Introduction to Chatbot DevelopmentSuraj Kumar Jana
 
Understanding Blockchain: Case Studies
Understanding Blockchain: Case StudiesUnderstanding Blockchain: Case Studies
Understanding Blockchain: Case StudiesSuraj Kumar Jana
 
Understanding Blockchain: Distributed Ledger Technology
Understanding Blockchain: Distributed Ledger TechnologyUnderstanding Blockchain: Distributed Ledger Technology
Understanding Blockchain: Distributed Ledger TechnologySuraj Kumar Jana
 
Understanding Blockchain: A General Introduction
Understanding Blockchain: A General IntroductionUnderstanding Blockchain: A General Introduction
Understanding Blockchain: A General IntroductionSuraj Kumar Jana
 
Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Suraj Kumar Jana
 
Introduction to Open Data and Data Science
Introduction to Open Data and Data ScienceIntroduction to Open Data and Data Science
Introduction to Open Data and Data ScienceSuraj Kumar Jana
 
Adore India - Introduction
Adore India - IntroductionAdore India - Introduction
Adore India - IntroductionSuraj Kumar Jana
 
Adore India - Talking To Students
Adore India - Talking To StudentsAdore India - Talking To Students
Adore India - Talking To StudentsSuraj Kumar Jana
 

More from Suraj Kumar Jana (15)

Convolution Neural Network
Convolution Neural NetworkConvolution Neural Network
Convolution Neural Network
 
Artificial Neural Network: A Brief Overview
Artificial Neural Network: A Brief OverviewArtificial Neural Network: A Brief Overview
Artificial Neural Network: A Brief Overview
 
Mathematics For Artificial Intelligence
Mathematics For Artificial IntelligenceMathematics For Artificial Intelligence
Mathematics For Artificial Intelligence
 
Artificial Intelligence: A Brief Overview
Artificial Intelligence: A Brief OverviewArtificial Intelligence: A Brief Overview
Artificial Intelligence: A Brief Overview
 
Introduction to Chatbot Development
Introduction to Chatbot DevelopmentIntroduction to Chatbot Development
Introduction to Chatbot Development
 
Understanding Blockchain: Case Studies
Understanding Blockchain: Case StudiesUnderstanding Blockchain: Case Studies
Understanding Blockchain: Case Studies
 
Understanding Blockchain: Distributed Ledger Technology
Understanding Blockchain: Distributed Ledger TechnologyUnderstanding Blockchain: Distributed Ledger Technology
Understanding Blockchain: Distributed Ledger Technology
 
Understanding Blockchain: A General Introduction
Understanding Blockchain: A General IntroductionUnderstanding Blockchain: A General Introduction
Understanding Blockchain: A General Introduction
 
Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)
 
Cloud Computing workshop
Cloud Computing workshopCloud Computing workshop
Cloud Computing workshop
 
Introduction to Open Data and Data Science
Introduction to Open Data and Data ScienceIntroduction to Open Data and Data Science
Introduction to Open Data and Data Science
 
Arduino Hands-on Workshop
Arduino Hands-on WorkshopArduino Hands-on Workshop
Arduino Hands-on Workshop
 
Prepare to Start-up
Prepare to Start-upPrepare to Start-up
Prepare to Start-up
 
Adore India - Introduction
Adore India - IntroductionAdore India - Introduction
Adore India - Introduction
 
Adore India - Talking To Students
Adore India - Talking To StudentsAdore India - Talking To Students
Adore India - Talking To Students
 

Recently uploaded

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Recently uploaded (20)

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

Machine Learning using Python

  • 1.
  • 4. http://ocl.space Types of Machine Learning ● Supervised Learning ● Unsupervised Learning ● Reinforcement Learning
  • 5. http://ocl.space Supervised Learning y = f(X) X is the features/inputs y is the target/output f(X) is the learning function Types : ● Regression ● Classification
  • 6. http://ocl.space Unsupervised Learning ● We have input data (X) but no corresponding output variable (y). ● The goal is to model the distribution of the data in order to learn more about the data. ● Types of unsupervised learning : --> Clustering --> Association
  • 7. http://ocl.space Other learning methods... ● Reinforcement learning ● Semi-supervised learning ● Transfer learning
  • 8. http://ocl.space Regression ● A form of predictive modelling technique which investigates the relationship between a dependent (target) and independent variable (s) (predictor). ● It is used for forecasting, time series modelling and finding the causal effect relationship between the variables. ● It indicates the significant relationships between dependent variable and independent variable. ● It indicates the strength of impact of multiple independent variables on a dependent variable. ● Types of regression : Linear, Logistic, Polynomial, Stepwise, Ridge, Lasso and ElasticNet
  • 9. http://ocl.space Classification ● A classification problem is when the output variable is a category. ● Examples : Emails filtering, Spam/Not Spam
  • 10. http://ocl.space Clustering and Association ● The aim is to segregate groups with similar traits and assign them into clusters. ● Types of Clustering : --> Hard Clustering: In hard clustering, each data point either belongs to a cluster completely or not. --> Soft Clustering: In soft clustering, instead of putting each data point into a separate cluster, a probability or likelihood of that data point to be in those clusters is assigned. ● When we want to discover rules that describe portions of the input data it is known as association problem.
  • 11. http://ocl.space Linear Regression ● It is used to estimate real values (cost of houses, number of calls, total sales etc.) based on continuous variable(s). ● Here, we establish relationship between independent and dependent variables by fitting a best line. ● This best fit line is known as regression line and represented by a linear equation Y= a * X + b Y – Dependent Variable a – Slope X – Independent variable b – Intercept
  • 13. http://ocl.space Logistic Regression ● It is used to estimate discrete values ( Binary values like 0/1, yes/no, true/false ) based on given set of independent variable(s). ● It predicts the probability of occurrence of an event by fitting data to a logit function.
  • 15. http://ocl.space Overfitting & Underfitting ● Overfitting happens when a model performs too well on training data but does not perform well on unseen data. ● Underfitting when a model does not perform well on training data as well as unseen data.
  • 16. http://ocl.space Cross Validation ● A method to test how well a model performs on unseen data. ● Types of Cross Validation methods : --> Hold out method --> K-fold method --> Leave-one-out cross validation
  • 17. http://ocl.space Learning = Representation + Evaluation + Optimization
  • 18. http://ocl.space Naive Bayes ● Naive Bayes is a supervised learning algorithm which is based on bayes theorem. ● The word naive comes from the assumption of independence among features. ● We can write bayes theorem as follows : Where, P(x) is the prior probability of a feature. P(x | y) is the probability of a feature given target. It's also known as likelihood. P(y) is the prior probability of a target or class in case of classification. p(y | x) is the posterior probability of target given feature.
  • 19. http://ocl.space Support Vector Machines (SVMs) ● SVMs are among the best supervised learning algorithms. ● It is effective in high dimensional space and it is memory efficient as well. ● We plot each data item as a point in n-dimensional space andperform classification by finding the hyperplane that differentiate the two classes very well. ● We can draw m number of hyperplanes. ● The optimal hyperplane is obtained by maximizing the margin.
  • 21. http://ocl.space Decision Tree ● Decision Tree is the supervised learning algorithm which can be used for classification as well as regression problems. ● Here we split population into set of homogeneous sets by asking set of questions. ● Example : To decide what to do on a particular day.
  • 23. http://ocl.space Random Forest ● Random Forest is the most common type of Ensemble Learning. ● It is a collection of decision trees. ● To classify a new object based on attributes, each tree gives a classification and we say the tree “votes” for that class. The forest chooses the classification having the most votes (over all the trees in the forest). ● There are plethora of advantages of random forest such as they are fast to train, requires no input preparation. ● One of the disadvantage of random forest is that our model may become too large.
  • 24. http://ocl.space K-nearest Neighbors (KNN) ● KNN can be used for both classification and regression problems. ● It stores all available cases and classifies new cases by a majority vote of its k neighbors. ● KNN is computationally expensive.
  • 25. http://ocl.space K-means clustering ● K-means is one of the simplest unsupervised learning algorithm used for clustering problem. ● Our goal is to group objects based on their features similarity. ● Basic idea behind K-means is, we define k centroids, that is, one for each cluster.
  • 26. http://ocl.space Neural Networks ● Neural Network is an information processing system, that is, we pass some input to the Neural Network, some processing happens and we get some output. ● Neural Networks are inspired from biological connection of neurons and how information processing happens in the brain.