SlideShare a Scribd company logo
Machine Learning & Regression
Agenda
✓ What is Machine Learning and its process flow
✓ Machine Learning Applications
✓ Types of Machine Learning
✓ Demo – Linear Regression
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What is Machine Learning?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What is Machine Learning?
Machine learning is a subset of artificial intelligence (AI) that provides computers with the ability to
learn without being explicitly programmed.
Machine learning uses data to detect patterns and create a
model and adjust program actions accordingly
How to achieve?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What is Machine Learning?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Machine Learning Process Flow
Using the data, the system learns an algorithm, and then uses it to build a predictive model. The system then performs
the recommended task and uses feedback data to tune the model to be more accurate.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Machine Learning Example
Example: Product Recommendation Engine
New Input
Machine Learning
Algorithm
Customer Buying History
(Data set )
Model
training
recommendfeed
1
2
3 4
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Machine Learning Applications
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Machine Learning Applications
Siri RetailHealth Care
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Types Of Machine Learning
Supervised
Learning
Unsupervised
Learning
Reinforcement
Learning
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Supervised Learning
Supervised learning is where you have input variables (x) and an output variable (Y) and you use an
algorithm to learn the mapping function from the input to the output.
Y = f(X)
It is called Supervised Learning because the process of an
algorithm learning from the training dataset can be
thought as a teacher supervising the learning process
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Supervised Learning Workflow
Supervised learning is the machine learning task of inferring a function from labeled training data. The training data
consist of a set of training examples. In supervised learning, each example is a pair consisting of an input object (typically
a vector) and a desired output value
Raw Data
Train
Labels
Feature
Extraction
Train The
Model Model Evaluate
New Data
Feature
Extraction
Predict Labels
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Data Set For Supervised Learning
User ID Gender Age Estimated Salary Purchased
15624510 Male 19 19000 0
15810944 Male 35 20000 0
15668575 Female 26 43000 0
15603246 Female 27 57000 0
15804002 Male 19 76000 0
15728773 Male 27 58000 0
15598044 Female 27 84000 0
15694829 Female 32 150000 1
15600575 Male 25 33000 0
15727311 Female 35 65000 0
Label
Features
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Unsupervised Learning
▪ Unsupervised learning is the training of a model using information that is neither classified nor labelled
▪ This model can be used to cluster the input data in classes on the basis of their statistical properties
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Reinforcement Learning
• Reinforcement Learning is learning by interacting with a space or an environment.
• An RL agent learns from the consequences of its actions, rather than from being taught explicitly. It selects its actions
on basis of its past experiences (exploitation) and also by new choices (exploration).
Agent
Environment
Action at
R t+1
S t+1
Reward
R t
State St
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Demo - Linear Regression
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Housing Price Prediction
You have been hired by a real-estate company to prepare a model that can predict the housing price in
a particular area
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Housing Price Prediction
In order to train the model, we will use Boston dataset. The dataset looks like this:
• CRIM - per capita crime rate by town
• ZN - proportion of residential land zoned for lots over 25,000 sq.ft.
• INDUS - proportion of non-retail business acres per town.
• CHAS - Charles River dummy variable (1 if tract bounds river; 0
otherwise)
• NOX - nitric oxides concentration (parts per 10 million)
• RM - average number of rooms per dwelling
• AGE - proportion of owner-occupied units built prior to 1940
• DIS - weighted distances to five Boston employment centres
• RAD - index of accessibility to radial highways
• TAX - full-value property-tax rate per $10,000
• PTRATIO - pupil-teacher ratio by town
• B - 1000(Bk - 0.63)^2 where Bk is the proportion of blacks by town
• LSTAT - % lower status of the population
• MEDV - Median value of owner-occupied homes in $1000's
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Linear Regression
➢ Linear Regression Analysis is a powerful technique used for predicting the unknown value of a variable
(Dependent Variable) from the known value of another variables (Independent Variable).
▪ A Dependent Variable(DV) is the variable to be predicted or explained in a regression model.
▪ An Independent Variable(IDV) is the variable related to the dependent variable in a regression
equation.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Linear Regression
Dependent variable
Y-intercept Slope of the line
Independent variable
Y = a + bX
➢ Y-intercept (a) is that value of the Dependent Variable(y) when the value of the Independent
Variable(x) is zero. It is the point at which the line cuts the y-axis.
➢ Slope (b) is the change in the Dependent Variable for a unit increase in the Independent Variable. It is
the tangent of the angle made by the line with the x-axis.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Linear Regression
Label or dependent variables
Features or Independent variables
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Use-Case Implementation
Raw Data
Training Data
Testing Data
Define Features
and Labels
Train the model Evaluate
Model Calculate Accuracy
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Session In A Minute
What is Machine Learning?
Types Of Machine Learning
Machine Learning Applications
Use-Case Linear Regression
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
WebDriver vs. IDE vs. RC
➢ Data Warehouse is like a relational database designed for analytical needs.
➢ It functions on the basis of OLAP (Online Analytical Processing).
➢ It is a central location where consolidated data from multiple locations (databases) are stored.

More Related Content

PDF
Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...
Edureka!
 
PDF
Python Machine Learning Tutorial | Machine Learning Algorithms | Python Train...
Edureka!
 
PPTX
Unsupervised learning
amalalhait
 
PDF
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...
Edureka!
 
PPTX
Machine Learning
Kumar P
 
PPTX
Machine learning
eonx_32
 
PDF
Machine Learning in 10 Minutes | What is Machine Learning? | Edureka
Edureka!
 
PDF
Machine Learning Course | Edureka
Edureka!
 
Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...
Edureka!
 
Python Machine Learning Tutorial | Machine Learning Algorithms | Python Train...
Edureka!
 
Unsupervised learning
amalalhait
 
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...
Edureka!
 
Machine Learning
Kumar P
 
Machine learning
eonx_32
 
Machine Learning in 10 Minutes | What is Machine Learning? | Edureka
Edureka!
 
Machine Learning Course | Edureka
Edureka!
 

What's hot (20)

PPTX
Intro to deep learning
David Voyles
 
PDF
Machine learning
Dr Geetha Mohan
 
PPTX
Machine Learning and Real-World Applications
MachinePulse
 
PPTX
Supervised Unsupervised and Reinforcement Learning
Aakash Chotrani
 
PPTX
Artificial Intelligence, Machine Learning and Deep Learning
Sujit Pal
 
PDF
Introduction to Machine learning with Python
Chariza Pladin
 
PPTX
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Simplilearn
 
PPTX
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Simplilearn
 
PPTX
Data Science: Past, Present, and Future
Gregory Piatetsky-Shapiro
 
PDF
Machine learning Lecture 1
Srinivasan R
 
PPTX
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Simplilearn
 
PDF
Machine learning - AI
Witekio
 
PPT
Machine learning
Rajib Kumar De
 
PDF
Machine Learning
Shrey Malik
 
PDF
Introduction to Data Science
Edureka!
 
PPTX
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
Simplilearn
 
PPTX
Introduction to machine learning
Koundinya Desiraju
 
PPTX
Data Mining
SHIKHA GAUTAM
 
PPTX
Machine Learning vs. Deep Learning
Belatrix Software
 
PDF
Data Science Tutorial | Introduction To Data Science | Data Science Training ...
Edureka!
 
Intro to deep learning
David Voyles
 
Machine learning
Dr Geetha Mohan
 
Machine Learning and Real-World Applications
MachinePulse
 
Supervised Unsupervised and Reinforcement Learning
Aakash Chotrani
 
Artificial Intelligence, Machine Learning and Deep Learning
Sujit Pal
 
Introduction to Machine learning with Python
Chariza Pladin
 
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Simplilearn
 
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Simplilearn
 
Data Science: Past, Present, and Future
Gregory Piatetsky-Shapiro
 
Machine learning Lecture 1
Srinivasan R
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Simplilearn
 
Machine learning - AI
Witekio
 
Machine learning
Rajib Kumar De
 
Machine Learning
Shrey Malik
 
Introduction to Data Science
Edureka!
 
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
Simplilearn
 
Introduction to machine learning
Koundinya Desiraju
 
Data Mining
SHIKHA GAUTAM
 
Machine Learning vs. Deep Learning
Belatrix Software
 
Data Science Tutorial | Introduction To Data Science | Data Science Training ...
Edureka!
 
Ad

Similar to Machine Learning In Python | Python Machine Learning Tutorial | Deep Learning Python | Edureka (20)

PPTX
Ml ppt at
pradeep kumar
 
PPTX
Introduction to machine learning and model building using linear regression
Girish Gore
 
PPTX
UNIT II SUPERVISED LEARNING - Introduction
jkowsysara
 
PPTX
Machine learning and linear regression programming
Soumya Mukherjee
 
PPTX
Chapter 05 Machine Learning.pptx
ssuser957b41
 
PDF
Machine learning Introduction
Kuppusamy P
 
PPTX
Predire il futuro con Machine Learning & Big Data
Data Driven Innovation
 
PPTX
Unit 3 – AIML.pptx
hiblooms
 
PDF
Linear Regression vs Logistic Regression | Edureka
Edureka!
 
PDF
MLEARN 210 B Autumn 2018: Lecture 1
heinestien
 
PPTX
Linear Regression Algorithm | Linear Regression in R | Data Science Training ...
Edureka!
 
PPTX
Statistical foundations of ml
Vipul Kalamkar
 
PPTX
Primer to Machine Learning
Jeff Tanner
 
PDF
Artificial Intelligence Course: Linear models
ananth
 
PDF
Introduction to machine learning
Sanghamitra Deb
 
PPTX
Tech meetup Data Driven - Codemotion
antimo musone
 
PPTX
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Simplilearn
 
PPTX
Machine learning introduction
Anas Jamil
 
PPTX
Introduction to Machine Learning for Java Developers
Zoran Sevarac, PhD
 
PPTX
ML Unjkfmvjmnb ,mit-2 - Rejhjmfnvhjmnv gression.pptx
IshanSharma386792
 
Ml ppt at
pradeep kumar
 
Introduction to machine learning and model building using linear regression
Girish Gore
 
UNIT II SUPERVISED LEARNING - Introduction
jkowsysara
 
Machine learning and linear regression programming
Soumya Mukherjee
 
Chapter 05 Machine Learning.pptx
ssuser957b41
 
Machine learning Introduction
Kuppusamy P
 
Predire il futuro con Machine Learning & Big Data
Data Driven Innovation
 
Unit 3 – AIML.pptx
hiblooms
 
Linear Regression vs Logistic Regression | Edureka
Edureka!
 
MLEARN 210 B Autumn 2018: Lecture 1
heinestien
 
Linear Regression Algorithm | Linear Regression in R | Data Science Training ...
Edureka!
 
Statistical foundations of ml
Vipul Kalamkar
 
Primer to Machine Learning
Jeff Tanner
 
Artificial Intelligence Course: Linear models
ananth
 
Introduction to machine learning
Sanghamitra Deb
 
Tech meetup Data Driven - Codemotion
antimo musone
 
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Simplilearn
 
Machine learning introduction
Anas Jamil
 
Introduction to Machine Learning for Java Developers
Zoran Sevarac, PhD
 
ML Unjkfmvjmnb ,mit-2 - Rejhjmfnvhjmnv gression.pptx
IshanSharma386792
 
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
PDF
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
PDF
Tableau Tutorial for Data Science | Edureka
Edureka!
 
PDF
Python Programming Tutorial | Edureka
Edureka!
 
PDF
Top 5 PMP Certifications | Edureka
Edureka!
 
PDF
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
PDF
Linux Mint Tutorial | Edureka
Edureka!
 
PDF
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
PDF
Importance of Digital Marketing | Edureka
Edureka!
 
PDF
RPA in 2020 | Edureka
Edureka!
 
PDF
Email Notifications in Jenkins | Edureka
Edureka!
 
PDF
EA Algorithm in Machine Learning | Edureka
Edureka!
 
PDF
Cognitive AI Tutorial | Edureka
Edureka!
 
PDF
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
PDF
Blue Prism Top Interview Questions | Edureka
Edureka!
 
PDF
Big Data on AWS Tutorial | Edureka
Edureka!
 
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
PDF
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
PDF
Introduction to DevOps | Edureka
Edureka!
 
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Edureka!
 

Recently uploaded (20)

PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
Coupa-Overview _Assumptions presentation
annapureddyn
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Doc9.....................................
SofiaCollazos
 
PPTX
IoT Sensor Integration 2025 Powering Smart Tech and Industrial Automation.pptx
Rejig Digital
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Coupa-Overview _Assumptions presentation
annapureddyn
 
Software Development Methodologies in 2025
KodekX
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Doc9.....................................
SofiaCollazos
 
IoT Sensor Integration 2025 Powering Smart Tech and Industrial Automation.pptx
Rejig Digital
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 

Machine Learning In Python | Python Machine Learning Tutorial | Deep Learning Python | Edureka

  • 1. Machine Learning & Regression
  • 2. Agenda ✓ What is Machine Learning and its process flow ✓ Machine Learning Applications ✓ Types of Machine Learning ✓ Demo – Linear Regression
  • 3. Copyright © 2017, edureka and/or its affiliates. All rights reserved. What is Machine Learning?
  • 4. Copyright © 2017, edureka and/or its affiliates. All rights reserved. What is Machine Learning? Machine learning is a subset of artificial intelligence (AI) that provides computers with the ability to learn without being explicitly programmed. Machine learning uses data to detect patterns and create a model and adjust program actions accordingly How to achieve?
  • 5. Copyright © 2017, edureka and/or its affiliates. All rights reserved. What is Machine Learning?
  • 6. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Machine Learning Process Flow Using the data, the system learns an algorithm, and then uses it to build a predictive model. The system then performs the recommended task and uses feedback data to tune the model to be more accurate.
  • 7. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Machine Learning Example Example: Product Recommendation Engine New Input Machine Learning Algorithm Customer Buying History (Data set ) Model training recommendfeed 1 2 3 4
  • 8. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Machine Learning Applications
  • 9. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Machine Learning Applications Siri RetailHealth Care
  • 10. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Types Of Machine Learning Supervised Learning Unsupervised Learning Reinforcement Learning
  • 11. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Supervised Learning Supervised learning is where you have input variables (x) and an output variable (Y) and you use an algorithm to learn the mapping function from the input to the output. Y = f(X) It is called Supervised Learning because the process of an algorithm learning from the training dataset can be thought as a teacher supervising the learning process
  • 12. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Supervised Learning Workflow Supervised learning is the machine learning task of inferring a function from labeled training data. The training data consist of a set of training examples. In supervised learning, each example is a pair consisting of an input object (typically a vector) and a desired output value Raw Data Train Labels Feature Extraction Train The Model Model Evaluate New Data Feature Extraction Predict Labels
  • 13. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Data Set For Supervised Learning User ID Gender Age Estimated Salary Purchased 15624510 Male 19 19000 0 15810944 Male 35 20000 0 15668575 Female 26 43000 0 15603246 Female 27 57000 0 15804002 Male 19 76000 0 15728773 Male 27 58000 0 15598044 Female 27 84000 0 15694829 Female 32 150000 1 15600575 Male 25 33000 0 15727311 Female 35 65000 0 Label Features
  • 14. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Unsupervised Learning ▪ Unsupervised learning is the training of a model using information that is neither classified nor labelled ▪ This model can be used to cluster the input data in classes on the basis of their statistical properties
  • 15. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Reinforcement Learning • Reinforcement Learning is learning by interacting with a space or an environment. • An RL agent learns from the consequences of its actions, rather than from being taught explicitly. It selects its actions on basis of its past experiences (exploitation) and also by new choices (exploration). Agent Environment Action at R t+1 S t+1 Reward R t State St
  • 16. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Demo - Linear Regression
  • 17. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Housing Price Prediction You have been hired by a real-estate company to prepare a model that can predict the housing price in a particular area
  • 18. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Housing Price Prediction In order to train the model, we will use Boston dataset. The dataset looks like this: • CRIM - per capita crime rate by town • ZN - proportion of residential land zoned for lots over 25,000 sq.ft. • INDUS - proportion of non-retail business acres per town. • CHAS - Charles River dummy variable (1 if tract bounds river; 0 otherwise) • NOX - nitric oxides concentration (parts per 10 million) • RM - average number of rooms per dwelling • AGE - proportion of owner-occupied units built prior to 1940 • DIS - weighted distances to five Boston employment centres • RAD - index of accessibility to radial highways • TAX - full-value property-tax rate per $10,000 • PTRATIO - pupil-teacher ratio by town • B - 1000(Bk - 0.63)^2 where Bk is the proportion of blacks by town • LSTAT - % lower status of the population • MEDV - Median value of owner-occupied homes in $1000's
  • 19. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Linear Regression ➢ Linear Regression Analysis is a powerful technique used for predicting the unknown value of a variable (Dependent Variable) from the known value of another variables (Independent Variable). ▪ A Dependent Variable(DV) is the variable to be predicted or explained in a regression model. ▪ An Independent Variable(IDV) is the variable related to the dependent variable in a regression equation.
  • 20. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Linear Regression Dependent variable Y-intercept Slope of the line Independent variable Y = a + bX ➢ Y-intercept (a) is that value of the Dependent Variable(y) when the value of the Independent Variable(x) is zero. It is the point at which the line cuts the y-axis. ➢ Slope (b) is the change in the Dependent Variable for a unit increase in the Independent Variable. It is the tangent of the angle made by the line with the x-axis.
  • 21. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Linear Regression Label or dependent variables Features or Independent variables
  • 22. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Use-Case Implementation Raw Data Training Data Testing Data Define Features and Labels Train the model Evaluate Model Calculate Accuracy
  • 23. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Session In A Minute What is Machine Learning? Types Of Machine Learning Machine Learning Applications Use-Case Linear Regression
  • 24. Copyright © 2017, edureka and/or its affiliates. All rights reserved. WebDriver vs. IDE vs. RC ➢ Data Warehouse is like a relational database designed for analytical needs. ➢ It functions on the basis of OLAP (Online Analytical Processing). ➢ It is a central location where consolidated data from multiple locations (databases) are stored.