SlideShare a Scribd company logo
1 of 16
Introduction to Machine Learning
15 Slides
Definition
• The art of making machines intelligent without explicit programming
Machine Learning is a field which consists of learning algorithms or
techniques which
• Execute some tasks T (Regression/Classification)
• Improve their performance P (model performance)
• With experience E (Delta)
Algorithms that can learn from observational data, and can make
predictions based on it.
3 Stages of ML process
• Representation (Selection of an algorithm/parameters)
• Evaluation (Objective function)
• Optimization (finding the optimal parameters)
Types of Machine Learning
Supervised Machine Learning
• Training is done using labelled data
• Algorithm learns the mapping function from the input to the output. Y =
f(X)
• Examples:
• Regression – used to predict continuous values
• Classification – used to predict categorical values
• In supervised learning, the algorithm learns from “correct” answers.
• The model is created and then used to predict answers from future data
• Example: Train a model to predict car price based on car attributes using
historical sales data. The model can predict optimal price for the new car
that haven’t been sold before.
Movie
Genres
Types of Machine Learning
Unsupervised Machine Learning
• Training is done using unlabeled data
• Algorithms are left to their own devices to discover and present the
interesting structure in the data.
• Clustering – used to discover the inherent groupings in the data
• Association – used to discover rules that describe large portions of the
data
• Example: group (cluster) of objects into 2 different sets based on
characteristics of those objects.
Dating
Sites
Evaluating Supervised Learning
• If you have a set of training data that includes the value you are
trying to predict; you don’t have to guess if the resulting model
is good or bad.
• If you have enough training data, you can split into two parts: a
training set and a test set.
• Then you train the model using training
set. Then measure the model’s accuracy
by asking it to predict values for the
test set, and compare that to the
unknown, true values.
Supervised ML - Regression
Regression is a technique that determines the relationship between one or
more independent variables and a dependent variable
Other naming style
Dependent : Independent
Target : Input
Criterion : Predictor
Linear Regression
• Simple Linear Regression : Only one independent variable
• Multiple Linear Regression : Two or more independent variables
Non-Linear Regression
• Dependent or non-linear transformation of independent variables
Supervised ML - Regression
Simple Linear Regression
In a Simple Linear Regression, we fit the best line between
the dependent variable and the independent variable given
as y = mx + c
m = Co-efficient of x (i.e. change in y divided by change in x)
c = Intercept (represents the variability in y)
• Fit a line to a dataset of observations
• Use this line to predict unobserved values
Real life scenarios will definitely have many more independent variables than
just one. To model an equation that studies the relationship between the
dependent variable and multiple independent variables.
The representation equation can be extended to
Y = m0 + m1x1 + m2x2 + m3x3 + … + mnxn
Where,
m0 is the intercept
m1 is the coefficient of variable x1
M2 is the coefficient of variable x2
And so on…
Multiple Linear Regression
Logistic Regression is a technique that determines the relationship between a
dependent variable and one or more independent variables, with the type of
dependent being a dichotomous categorical variable.
To maximize or minimize a function, we differentiate the function and find the point
when the gradient is zero.
Since, this is a non-linear function, we use the gradient descent i.e. calculate the
gradient of the function at each i.e. update the values of parameters
Supervised ML - Classification
The key objective in clustering is to identify distinct groups/clusters based on
similarities within a given dataset.
Agglomerative (Hierarchical)
Divisive (K-Means)
K-Means Clustering
• Start with random point initialization of the required number of centers. (“K”in K-
means stands for the number of clusters)
• Assign each data point to the “center“ closest to it. (Distance metric = Normal
Euclidean distance)
• Recalculate centers by averaging the dimensions of the points belonging to each
cluster.
• Repeat with new centers until we reach a point where the assignments become
stable.
Unsupervised ML - Classification
K-Means Clustering
• Start with random point initialization of the required number of centers.
(“K”in K-means stands for the number of clusters)
• Assign each data point to the “center“ closest to it. (Distance metric =
Normal Euclidean distance)
• Recalculate centers by averaging the dimensions of the points belonging
to each cluster.
• Repeat with new centers until we reach a point where the assignments
become stable.
Hierarchical Clustering
• Start with “n”clusters (n= # of data points)
• Combine the 2 closest clusters
• Repeat till only 1 cluster exists.
Unsupervised ML - Classification
Evaluating ML models for Regression
Evaluating ML models for Regression
Thank you

More Related Content

What's hot

Adapting neural networks for the estimation of treatment effects
Adapting neural networks for the estimation of treatment effectsAdapting neural networks for the estimation of treatment effects
Adapting neural networks for the estimation of treatment effectsViswanath Gangavaram
 
Machine learning
Machine learningMachine learning
Machine learningdeepakbagam
 
Types of Mathematical Model.
Types of Mathematical Model.Types of Mathematical Model.
Types of Mathematical Model.Megha Sharma
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and RegressionMegha Sharma
 
What makes a good decision tree?
What makes a good decision tree?What makes a good decision tree?
What makes a good decision tree?Rupak Roy
 
Supervised Machine Learning With Types And Techniques
Supervised Machine Learning With Types And TechniquesSupervised Machine Learning With Types And Techniques
Supervised Machine Learning With Types And TechniquesSlideTeam
 
How to understand and implement regression analysis
How to understand and implement regression analysisHow to understand and implement regression analysis
How to understand and implement regression analysisClaireWhittaker5
 
Statistical Learning on Credit Data
Statistical Learning on Credit DataStatistical Learning on Credit Data
Statistical Learning on Credit DataFiras Obeid
 
House Price Prediction An AI Approach.
House Price Prediction An AI Approach.House Price Prediction An AI Approach.
House Price Prediction An AI Approach.Nahian Ahmed
 
Selecting the Right Type of Algorithm for Various Applications - Phdassistance
Selecting the Right Type of Algorithm for Various Applications - PhdassistanceSelecting the Right Type of Algorithm for Various Applications - Phdassistance
Selecting the Right Type of Algorithm for Various Applications - PhdassistancePhD Assistance
 
Codecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Iasi 7 mai 2011 Monte Carlo SimulationCodecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Iasi 7 mai 2011 Monte Carlo SimulationCodecamp Romania
 
Selecting the Right Type of Algorithm for Various Applications - Phdassistance
Selecting the Right Type of Algorithm for Various Applications - PhdassistanceSelecting the Right Type of Algorithm for Various Applications - Phdassistance
Selecting the Right Type of Algorithm for Various Applications - PhdassistancePhD Assistance
 
Data analytics with python introductory
Data analytics with python introductoryData analytics with python introductory
Data analytics with python introductoryAbhimanyu Dwivedi
 
Linear Regression Ex
Linear Regression ExLinear Regression Ex
Linear Regression Exmailund
 

What's hot (20)

Conceptual modeling
Conceptual modelingConceptual modeling
Conceptual modeling
 
Machine learning basics
Machine learning   basicsMachine learning   basics
Machine learning basics
 
Adapting neural networks for the estimation of treatment effects
Adapting neural networks for the estimation of treatment effectsAdapting neural networks for the estimation of treatment effects
Adapting neural networks for the estimation of treatment effects
 
Machine learning
Machine learningMachine learning
Machine learning
 
Types of Mathematical Model.
Types of Mathematical Model.Types of Mathematical Model.
Types of Mathematical Model.
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and Regression
 
Housing price prediction
Housing price predictionHousing price prediction
Housing price prediction
 
Machine Learning - Deep Learning
Machine Learning - Deep LearningMachine Learning - Deep Learning
Machine Learning - Deep Learning
 
What makes a good decision tree?
What makes a good decision tree?What makes a good decision tree?
What makes a good decision tree?
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Supervised Machine Learning With Types And Techniques
Supervised Machine Learning With Types And TechniquesSupervised Machine Learning With Types And Techniques
Supervised Machine Learning With Types And Techniques
 
Ew36913917
Ew36913917Ew36913917
Ew36913917
 
How to understand and implement regression analysis
How to understand and implement regression analysisHow to understand and implement regression analysis
How to understand and implement regression analysis
 
Statistical Learning on Credit Data
Statistical Learning on Credit DataStatistical Learning on Credit Data
Statistical Learning on Credit Data
 
House Price Prediction An AI Approach.
House Price Prediction An AI Approach.House Price Prediction An AI Approach.
House Price Prediction An AI Approach.
 
Selecting the Right Type of Algorithm for Various Applications - Phdassistance
Selecting the Right Type of Algorithm for Various Applications - PhdassistanceSelecting the Right Type of Algorithm for Various Applications - Phdassistance
Selecting the Right Type of Algorithm for Various Applications - Phdassistance
 
Codecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Iasi 7 mai 2011 Monte Carlo SimulationCodecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Iasi 7 mai 2011 Monte Carlo Simulation
 
Selecting the Right Type of Algorithm for Various Applications - Phdassistance
Selecting the Right Type of Algorithm for Various Applications - PhdassistanceSelecting the Right Type of Algorithm for Various Applications - Phdassistance
Selecting the Right Type of Algorithm for Various Applications - Phdassistance
 
Data analytics with python introductory
Data analytics with python introductoryData analytics with python introductory
Data analytics with python introductory
 
Linear Regression Ex
Linear Regression ExLinear Regression Ex
Linear Regression Ex
 

Similar to Machine Learning in 40 Characters

Unit 3 – AIML.pptx
Unit 3 – AIML.pptxUnit 3 – AIML.pptx
Unit 3 – AIML.pptxhiblooms
 
Machine learning Mind Map
Machine learning Mind MapMachine learning Mind Map
Machine learning Mind MapAshish Patel
 
Machine Learning.pdf
Machine Learning.pdfMachine Learning.pdf
Machine Learning.pdfBeyaNasr1
 
Application of Machine Learning in Agriculture
Application of Machine  Learning in AgricultureApplication of Machine  Learning in Agriculture
Application of Machine Learning in AgricultureAman Vasisht
 
Learning machine learning with Yellowbrick
Learning machine learning with YellowbrickLearning machine learning with Yellowbrick
Learning machine learning with YellowbrickRebecca Bilbro
 
Machine learning Introduction
Machine learning IntroductionMachine learning Introduction
Machine learning IntroductionKuppusamy P
 
Principal component analysis and lda
Principal component analysis and ldaPrincipal component analysis and lda
Principal component analysis and ldaSuresh Pokharel
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningSanghamitra Deb
 
Supervised Machine Learning.pptx
Supervised Machine Learning.pptxSupervised Machine Learning.pptx
Supervised Machine Learning.pptxChanduChandran6
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptxarsh260174
 
Regression Analysis Techniques.pptx
Regression Analysis Techniques.pptxRegression Analysis Techniques.pptx
Regression Analysis Techniques.pptxYutaItadori
 
MACHINE LEARNING AND ITS APPLICATIONS (2).pptx
MACHINE LEARNING AND ITS APPLICATIONS (2).pptxMACHINE LEARNING AND ITS APPLICATIONS (2).pptx
MACHINE LEARNING AND ITS APPLICATIONS (2).pptxssuser442651
 
Machine learning with scikitlearn
Machine learning with scikitlearnMachine learning with scikitlearn
Machine learning with scikitlearnPratap Dangeti
 
Machine Learning techniques used in AI.
Machine Learning  techniques used in AI.Machine Learning  techniques used in AI.
Machine Learning techniques used in AI.ArchanaT32
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningKnoldus Inc.
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3Luis Borbon
 
CounterFactual Explanations.pdf
CounterFactual Explanations.pdfCounterFactual Explanations.pdf
CounterFactual Explanations.pdfBong-Ho Lee
 

Similar to Machine Learning in 40 Characters (20)

Unit 3 – AIML.pptx
Unit 3 – AIML.pptxUnit 3 – AIML.pptx
Unit 3 – AIML.pptx
 
Machine learning Mind Map
Machine learning Mind MapMachine learning Mind Map
Machine learning Mind Map
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine Learning.pdf
Machine Learning.pdfMachine Learning.pdf
Machine Learning.pdf
 
Application of Machine Learning in Agriculture
Application of Machine  Learning in AgricultureApplication of Machine  Learning in Agriculture
Application of Machine Learning in Agriculture
 
Learning machine learning with Yellowbrick
Learning machine learning with YellowbrickLearning machine learning with Yellowbrick
Learning machine learning with Yellowbrick
 
Machine learning Introduction
Machine learning IntroductionMachine learning Introduction
Machine learning Introduction
 
Principal component analysis and lda
Principal component analysis and ldaPrincipal component analysis and lda
Principal component analysis and lda
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Supervised Machine Learning.pptx
Supervised Machine Learning.pptxSupervised Machine Learning.pptx
Supervised Machine Learning.pptx
 
MACHINE LEARNING.pptx
MACHINE LEARNING.pptxMACHINE LEARNING.pptx
MACHINE LEARNING.pptx
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
Regression Analysis Techniques.pptx
Regression Analysis Techniques.pptxRegression Analysis Techniques.pptx
Regression Analysis Techniques.pptx
 
MACHINE LEARNING AND ITS APPLICATIONS (2).pptx
MACHINE LEARNING AND ITS APPLICATIONS (2).pptxMACHINE LEARNING AND ITS APPLICATIONS (2).pptx
MACHINE LEARNING AND ITS APPLICATIONS (2).pptx
 
Machine learning with scikitlearn
Machine learning with scikitlearnMachine learning with scikitlearn
Machine learning with scikitlearn
 
Machine Learning techniques used in AI.
Machine Learning  techniques used in AI.Machine Learning  techniques used in AI.
Machine Learning techniques used in AI.
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3
 
CounterFactual Explanations.pdf
CounterFactual Explanations.pdfCounterFactual Explanations.pdf
CounterFactual Explanations.pdf
 

Recently uploaded

TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...ssifa0344
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCEPRINCE C P
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfSumit Kumar yadav
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINsankalpkumarsahoo174
 

Recently uploaded (20)

TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
 

Machine Learning in 40 Characters

  • 1. Introduction to Machine Learning 15 Slides
  • 2. Definition • The art of making machines intelligent without explicit programming Machine Learning is a field which consists of learning algorithms or techniques which • Execute some tasks T (Regression/Classification) • Improve their performance P (model performance) • With experience E (Delta) Algorithms that can learn from observational data, and can make predictions based on it.
  • 3. 3 Stages of ML process • Representation (Selection of an algorithm/parameters) • Evaluation (Objective function) • Optimization (finding the optimal parameters)
  • 4. Types of Machine Learning Supervised Machine Learning • Training is done using labelled data • Algorithm learns the mapping function from the input to the output. Y = f(X) • Examples: • Regression – used to predict continuous values • Classification – used to predict categorical values • In supervised learning, the algorithm learns from “correct” answers. • The model is created and then used to predict answers from future data • Example: Train a model to predict car price based on car attributes using historical sales data. The model can predict optimal price for the new car that haven’t been sold before. Movie Genres
  • 5. Types of Machine Learning Unsupervised Machine Learning • Training is done using unlabeled data • Algorithms are left to their own devices to discover and present the interesting structure in the data. • Clustering – used to discover the inherent groupings in the data • Association – used to discover rules that describe large portions of the data • Example: group (cluster) of objects into 2 different sets based on characteristics of those objects. Dating Sites
  • 6. Evaluating Supervised Learning • If you have a set of training data that includes the value you are trying to predict; you don’t have to guess if the resulting model is good or bad. • If you have enough training data, you can split into two parts: a training set and a test set. • Then you train the model using training set. Then measure the model’s accuracy by asking it to predict values for the test set, and compare that to the unknown, true values.
  • 7. Supervised ML - Regression Regression is a technique that determines the relationship between one or more independent variables and a dependent variable Other naming style Dependent : Independent Target : Input Criterion : Predictor
  • 8. Linear Regression • Simple Linear Regression : Only one independent variable • Multiple Linear Regression : Two or more independent variables Non-Linear Regression • Dependent or non-linear transformation of independent variables Supervised ML - Regression
  • 9. Simple Linear Regression In a Simple Linear Regression, we fit the best line between the dependent variable and the independent variable given as y = mx + c m = Co-efficient of x (i.e. change in y divided by change in x) c = Intercept (represents the variability in y) • Fit a line to a dataset of observations • Use this line to predict unobserved values
  • 10. Real life scenarios will definitely have many more independent variables than just one. To model an equation that studies the relationship between the dependent variable and multiple independent variables. The representation equation can be extended to Y = m0 + m1x1 + m2x2 + m3x3 + … + mnxn Where, m0 is the intercept m1 is the coefficient of variable x1 M2 is the coefficient of variable x2 And so on… Multiple Linear Regression
  • 11. Logistic Regression is a technique that determines the relationship between a dependent variable and one or more independent variables, with the type of dependent being a dichotomous categorical variable. To maximize or minimize a function, we differentiate the function and find the point when the gradient is zero. Since, this is a non-linear function, we use the gradient descent i.e. calculate the gradient of the function at each i.e. update the values of parameters Supervised ML - Classification
  • 12. The key objective in clustering is to identify distinct groups/clusters based on similarities within a given dataset. Agglomerative (Hierarchical) Divisive (K-Means) K-Means Clustering • Start with random point initialization of the required number of centers. (“K”in K- means stands for the number of clusters) • Assign each data point to the “center“ closest to it. (Distance metric = Normal Euclidean distance) • Recalculate centers by averaging the dimensions of the points belonging to each cluster. • Repeat with new centers until we reach a point where the assignments become stable. Unsupervised ML - Classification
  • 13. K-Means Clustering • Start with random point initialization of the required number of centers. (“K”in K-means stands for the number of clusters) • Assign each data point to the “center“ closest to it. (Distance metric = Normal Euclidean distance) • Recalculate centers by averaging the dimensions of the points belonging to each cluster. • Repeat with new centers until we reach a point where the assignments become stable. Hierarchical Clustering • Start with “n”clusters (n= # of data points) • Combine the 2 closest clusters • Repeat till only 1 cluster exists. Unsupervised ML - Classification
  • 14. Evaluating ML models for Regression
  • 15. Evaluating ML models for Regression