SlideShare a Scribd company logo
1 of 32
1
THE SCIENCE BEHIND
MACHINE LEARNING
RADU VUNVULEA, NOVEMBER 2017
RADU VUNVULEA
Technology Enthusiast
Dreamer
Microsoft Azure MVP
Speaker & Trainer
Writer & Blogger
Idealist Software
Architecture Crafter
PURPOSE
UNDERSTAND WHAT IS THE MAGIC
BEHIND MACHINE LEARNING
CORE CONCEPTS
Applied Artificial Intelligence
• Train and design for a specific task, like
maneuver an autonomous vehicle or
intelligently trade stocks and shares.
Generalized Artificial Intelligence
• A system that can handle any kind of task.
Learn by himself to drive a car and later on to
play on the stock market. It’s the current state-
of-the-art system.
“Machine learning is a field of computer
science that gives computers the ability to
learn without being explicitly programmed”
Arthur Samuel, 1959
Artificial
Intelligence
Machine
Learning
Artificial Intelligence
• Artificial Intelligence is the broader concept of
machines being able to carry out tasks in a way
that we would consider “smart”
Machine Learning
• Machine Learning is a current application of AI
based around the idea that we should really
just be able to give machines access to data
and let them learn for themselves
9
9
Machine
Learning
Teaching machines to
learn by themselves
High amount of
data that is stored
Obtain valuable data
insights
WHAT SUPPORTS MACHINE LEARNING
MACHINE LEARNING
11
11
CATEGORIZE AND GROUPING
12
12
MACHINE LEARNING ALGORITHMS CATEGORIES
Supervised Learning Unsupervised Learning
Bedrooms Sq. feet Neighborhood Sale price
3 2000 Normaltown 250.000 $
2 800 Hipsterton 300.000 $
2 850 Normaltown 150.000 $
1 550 Normaltown 78.000 $
4 200 Skid Row 150.000 $
3 2000 Hipsterton ????????
Bedrooms Sq. feet Neighborhood Sale price
3 2000 Normaltown 250.000 $
2 800 Hipsterton 300.000 $
2 850 Normaltown 150.000 $
1 550 Normaltown 78.000 $
4 200 Skid Row 150.000 $
3 2000 Hipsterton ????????
SUPERVISED LEARNING
14
14
STEP 1: PRICE WITH A SIMPLE WEIGHT
price = num_bedrooms * 1 + sqft * 1 + neighborhood * 1
15
15
STEP 2: RUN FUNCTION & CHECK GUESSING VALUES
Bedrooms Sq. feet Neighborhood Sale price Guess
3 2000 Normaltown 250.000 $ 178.000 $
2 800 Hipsterton 300.000 $ 371.000 $
2 850 Normaltown 150.000 $ 148.000 $
1 550 Normaltown 78.000 $ 101.000 $
4 200 Skid Row 150.000 $ 121.000 $
16
16
STEP 3: CHANGE THE WEIGHT VALUES
price = num_bedrooms * 0.8 + sqft * 1.2 + neighborhood * 0.4
17
17
price = num_bedrooms * 0.8 + sqft * 1.2 + neighborhood * 0.4
STEP 3: REPEAT UNTIL YOU TRY ALL THE NUMBERS
Adjust
weight
Calculate
Adjust
weight
Calculate
Adjust
weight
Calculate
TRYING ALL THE NUMBER
WOULD BE PRETTY
EXPENSIVE OR IMPOSSIBLE…
19
19
COST FUNCTION
A cost function is something you want to minimize
20
20
COST FUNCTION
A cost function is something you want to minimize
#training examples
#minimize
21
21
GRADIENT DESCENT
How wrong our estimating price function is for the
weights we currently have set
22
22
GRADIENT DESCENT
How wrong our estimating price function is for the
weights we currently have set
#current weight
23
23
COST FOR YOUR CURRENT WEIGHTS
Graphical representation for num of bedrooms and sqft
24
24
COST FOR YOUR CURRENT WEIGHTS
Graphical representation for num of bedrooms and sqft
#lowest point
25
25
? MAGIC ?
No, as long as we have enough data to solve the problem
#lowest point
ANOTHER APPROACH
27
27
DIFFERENT WEIGHT VALUES
28
28
COMBINE PRICE ESTIMATION TO GET FINAL PRICE
29
29
NEURAL NETWORK
30
30
NEURAL NETWORK
#hidden layers
Artificial neural networks (ANNs) are computing systems inspired by
the biological neural networks that constitute animal brains. Such
systems learn (progressively improve performance) to do tasks by
considering examples, generally without task-specific programming.
Wikipedia
THANK YOU!
@RaduVunvulea
vunvulearadu.blogspot.com
https://www.linkedin.com/in/raduvunvulea/
vunvulear@outlook.com

More Related Content

Similar to The science behind machine learning Radu Vunvulea November 2017, Cluj-Napoca

Building a performing Machine Learning model from A to Z
Building a performing Machine Learning model from A to ZBuilding a performing Machine Learning model from A to Z
Building a performing Machine Learning model from A to ZCharles Vestur
 
AWS Cloud Kata | Bangkok - Opening Keynote
AWS Cloud Kata | Bangkok - Opening KeynoteAWS Cloud Kata | Bangkok - Opening Keynote
AWS Cloud Kata | Bangkok - Opening KeynoteAmazon Web Services
 
AWS Cloud Kata | Taipei - Opening Keynote
AWS Cloud Kata | Taipei - Opening KeynoteAWS Cloud Kata | Taipei - Opening Keynote
AWS Cloud Kata | Taipei - Opening KeynoteAmazon Web Services
 
Introduction to machine learning november 25, 2017
Introduction to machine learning november 25, 2017Introduction to machine learning november 25, 2017
Introduction to machine learning november 25, 2017Manish Panchmatia
 
Fromrealtovirtual
FromrealtovirtualFromrealtovirtual
FromrealtovirtualD EASTMAN
 
modeling computing
modeling computingmodeling computing
modeling computingRajendran
 
Machine Learning for Designers
Machine Learning for DesignersMachine Learning for Designers
Machine Learning for DesignersMemi Beltrame
 
AWS Cloud Kata | Manila - Opening Keynote
AWS Cloud Kata | Manila - Opening KeynoteAWS Cloud Kata | Manila - Opening Keynote
AWS Cloud Kata | Manila - Opening KeynoteAmazon Web Services
 
Big data and AI presentation slides
Big data and AI presentation slidesBig data and AI presentation slides
Big data and AI presentation slidesCloudxLab
 
Machine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMemi Beltrame
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingHüseyin Ergin
 
AWS Cloud Kata | Kuala Lumpur - Opening Keynote
AWS Cloud Kata | Kuala Lumpur - Opening KeynoteAWS Cloud Kata | Kuala Lumpur - Opening Keynote
AWS Cloud Kata | Kuala Lumpur - Opening KeynoteAmazon Web Services
 
Boyd Hemphill (Tsunami) Geekfest
Boyd Hemphill (Tsunami) GeekfestBoyd Hemphill (Tsunami) Geekfest
Boyd Hemphill (Tsunami) GeekfestW2O Group
 
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptxMohamed Essam
 
Lazy, Lazy, Lazy all the things !
Lazy, Lazy, Lazy all the things !Lazy, Lazy, Lazy all the things !
Lazy, Lazy, Lazy all the things !Shaunak Pagnis
 
Calculator and how to make it using VB 6.0
Calculator and how to make it using VB 6.0Calculator and how to make it using VB 6.0
Calculator and how to make it using VB 6.0surajkumarpadhy
 

Similar to The science behind machine learning Radu Vunvulea November 2017, Cluj-Napoca (20)

Building a performing Machine Learning model from A to Z
Building a performing Machine Learning model from A to ZBuilding a performing Machine Learning model from A to Z
Building a performing Machine Learning model from A to Z
 
AWS Cloud Kata | Bangkok - Opening Keynote
AWS Cloud Kata | Bangkok - Opening KeynoteAWS Cloud Kata | Bangkok - Opening Keynote
AWS Cloud Kata | Bangkok - Opening Keynote
 
AWS Cloud Kata | Taipei - Opening Keynote
AWS Cloud Kata | Taipei - Opening KeynoteAWS Cloud Kata | Taipei - Opening Keynote
AWS Cloud Kata | Taipei - Opening Keynote
 
Introduction to machine learning november 25, 2017
Introduction to machine learning november 25, 2017Introduction to machine learning november 25, 2017
Introduction to machine learning november 25, 2017
 
Fromrealtovirtual
FromrealtovirtualFromrealtovirtual
Fromrealtovirtual
 
modeling computing
modeling computingmodeling computing
modeling computing
 
Machine Learning for Designers
Machine Learning for DesignersMachine Learning for Designers
Machine Learning for Designers
 
Week 11
Week 11Week 11
Week 11
 
AWS Cloud Kata | Manila - Opening Keynote
AWS Cloud Kata | Manila - Opening KeynoteAWS Cloud Kata | Manila - Opening Keynote
AWS Cloud Kata | Manila - Opening Keynote
 
Presentation machine learning
Presentation machine learningPresentation machine learning
Presentation machine learning
 
Big data and AI presentation slides
Big data and AI presentation slidesBig data and AI presentation slides
Big data and AI presentation slides
 
How to be like amazon
How to be like amazonHow to be like amazon
How to be like amazon
 
Machine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup Basel
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
AWS Cloud Kata | Kuala Lumpur - Opening Keynote
AWS Cloud Kata | Kuala Lumpur - Opening KeynoteAWS Cloud Kata | Kuala Lumpur - Opening Keynote
AWS Cloud Kata | Kuala Lumpur - Opening Keynote
 
Boyd Hemphill (Tsunami) Geekfest
Boyd Hemphill (Tsunami) GeekfestBoyd Hemphill (Tsunami) Geekfest
Boyd Hemphill (Tsunami) Geekfest
 
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
 
Lazy, Lazy, Lazy all the things !
Lazy, Lazy, Lazy all the things !Lazy, Lazy, Lazy all the things !
Lazy, Lazy, Lazy all the things !
 
AI on a PI
AI on a PIAI on a PI
AI on a PI
 
Calculator and how to make it using VB 6.0
Calculator and how to make it using VB 6.0Calculator and how to make it using VB 6.0
Calculator and how to make it using VB 6.0
 

Recently uploaded

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Recently uploaded (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

The science behind machine learning Radu Vunvulea November 2017, Cluj-Napoca