SlideShare une entreprise Scribd logo
1  sur  28
An introduction to Machine Learning
Angelo Simone Scotto
Cluster Reply
Part I : Introduction
3
“Philosophy [nature] is written in that great book
which ever is before our eyes -- I mean the
universe -- but we cannot understand it if we
do not first learn the language and grasp the
symbols in which it is written. The book is
written in mathematical language”
“Measure what can be measured, and make
measurable what cannot be measured.”
The first Data Scientist ?
Galileo Galilei (1564 – 1642)
4
“Philosophy [nature] is written in that great book
which ever is before our eyes -- I mean the
universe -- but we cannot understand it if we
do not first learn the language and grasp the
symbols in which it is written. The book is
written in mathematical language”
“Measure what can be measured, and make
measurable what cannot be measured.”
The first Data Scientist ?
Galileo Galilei (1564 – 1642)
5
“Philosophy [nature] is written in that great book
which ever is before our eyes -- I mean the
universe -- but we cannot understand it if we
do not first learn the language and grasp the
symbols in which it is written. The book is
written in mathematical language”
“Measure what can be measured, and make
measurable what cannot be measured.”
The first Data Scientist ?
Galileo Galilei (1564 – 1642)
6
“Machine learning algorithms can figure out how to perform important
tasks by generalizing from examples. This is often feasible and cost-
effective where manual programming is not.”
“A Few Useful Things to Know about Machine Learning”, P.Domingos
• Learn it when you can’t code it (recognize speech or images)
• Learn it when you can’t scale (recommendations, spam, fraud
detection)
• Learn it when you have to adapt (predictive typing, ai gaming)
• Learn it when you can’t track it (robot control, self driving car)
Why Machine Learning
Machine Learning Workflow
Experiments look like data-flow configurations of
what you would like to do with your information
and with your models.
In order to do predictive analytics
you just have to:
• Import or connect to some
current or historical data.
• Build and validate a model.
• Publish trained models to make
live predictions.
Choosing Models (Algorithms)
Problems:
• Anomaly Detection
• Classification
• Two – Class
• Multiclass
• Clustering
• Regression
• Text Analytics
Questions:
• How large is your data?
• Do you need to train incrementally?
• Data is categorical or numerical?
• Do you need to understand the classifier?
• Is the problem complex (non-linear)?
Choosing Machine Learning Tools
Two main languages
R:
• Programming Language for Statistical
Computing and Graphics.
• Aimed at Data Scientists who can Develop.
• Freely Available.
Python:
• Multipurpose programming language.
• Aimed at Developers who can do Data Science.
• Freely Available.
All-in-one (cloud) platforms:
• Azure Machine Learning
• Amazon Machine Learning
• Google Prediction API
Part II : A simple example
Azure Machine Learning
• A Machine Learning solution completely in the cloud.
• 18 February 2015: Announced as Generally
Available from Microsoft.
• No software to install, just a browser is required.
• Provides also a free plan to experiment with.
• Share your work with anyone with internet access.
• Visual composition of data science workflow with
pre-made ML algorithms ready to use.
• Allows rapid prototyping (experiments) to create a
better model.
• Deploy trained models as REST web services.
• Support of R and Python scripts to support advanced
scenarios or previous works.
12
Everyone wrote one at least once…
13
Everyone wrote one at least once…
14
:(
Everyone wrote one at least once…
15
• Not having a real elevator i
wrote an elevator simulator.
• People enters at 9.00 AM
(more or less…) and exits at
6.00 PM (more or less…)
• One hour of lunch-break (more
or less…).
• Nobody working during
weekends (more or less…)
• 5 Floors (0 to 4)
• 2 Elevators (A and B)
• 10 People working
• 5 at floor 3
• 3 at floor 4
• 2 at floor 2
• 0 at floor 1
• 6 months of simulation (i know, no
holidays…)
Instead of coding, what about making it learn ?
16
Cleaning Data and Selecting Features
• Exclude all except DayOfWeek, Hour,
Elevator Floor.
• Treat Elevator Floor as label (not
number).
17
Training the selected model.
• Decision Forest is a common model for multiclass prediction.
• Train Elevator Floor based on DayOfWeek and Hour.
18
And yet it learned…
19
And yet it learned…
20
A more advanced experiment
• Introducing «Agatha»
• Being software developer we are experimenting
with data generated by our software development
process.
• Predicting correlation between components
«Developers who changed this file also changed…»
• Predicting issue / bugs according to historical data
Uses complexity metrics, change frequency and defects
found in unit tests.
• We are using Machine Learning on our process to gain
insights and improve our software production process.
No «cobbler's children go unshod» syndrome
Part III : A developer’s perspective
Classical Software vs Machine Learning
«Classic» Software Development Machine Learning Approach
Human writing code Human supplying data
Work is done (mainly) on algorithm
selection.
Work is done (mainly) on input/output
selection (feature engineering)
Model is (mainly) a white box. Model is (mainly) a black box.
Input / Output is less important. Algorithm is less important.
Data is indeed crude oil… It needs refinement
Great things happen in machine learning
when human and machine work together,
combining a person’s knowledge of
how to create relevant features from
the data with the machine’s talent for
optimization.
Feature engineering: when you use your knowledge about the data to
create fields that make machine learning algorithms work better.
It is easily the most important factor in determining the success of a
machine learning project
More data beats a cleverer algorithm…
More data wins. There’s increasingly good evidence that, in a lot of
problems, very simple machine learning techniques can be levered
into incredibly powerful classifiers with the addition of loads of data.
Computer algorithms trying to learn models have only a relatively
few tricks they can do efficiently, and many of them are not so very
different. Performance differences between algorithms are typically
not large. Thus, if you want better classifiers:
1. Engineer better features
2. Get your hands on more high-quality data
Algorithm importance: the Netflix prize
«Classic» approach
• Data was provided.
• Algorithm was
researched.
Algorithm importance: the Netflix prize
«Classic» approach
• Data was provided.
• Algorithm was
researched.
• Three years later a
winner was found…
Algorithm importance: the Netflix prize
«Classic» approach
• Data was provided.
• Algorithm was
researched.
• Three years later a
winner was found…
• But the algorithm
was never used…
Thanks
Angelo Simone Scotto
a.scotto@reply.eu

Contenu connexe

En vedette

Exploiting Elevator Security Weaknesses by Deviant Ollam
Exploiting Elevator Security Weaknesses by Deviant OllamExploiting Elevator Security Weaknesses by Deviant Ollam
Exploiting Elevator Security Weaknesses by Deviant OllamShakacon
 
New Indian Elevators, Maharashtra, Elevator Components
New Indian Elevators, Maharashtra, Elevator ComponentsNew Indian Elevators, Maharashtra, Elevator Components
New Indian Elevators, Maharashtra, Elevator ComponentsIndiaMART InterMESH Limited
 
Breaking Vaults - Stealing Lastpass Protected Secrets by Martin Vigo
Breaking Vaults - Stealing Lastpass Protected Secrets by Martin VigoBreaking Vaults - Stealing Lastpass Protected Secrets by Martin Vigo
Breaking Vaults - Stealing Lastpass Protected Secrets by Martin VigoShakacon
 
Diagram of an elevator
Diagram of an elevatorDiagram of an elevator
Diagram of an elevatorbeccapr69
 
Practical Machine Learning
Practical Machine LearningPractical Machine Learning
Practical Machine LearningDavid Jones
 
Developing an Elevator Pitch
Developing an Elevator PitchDeveloping an Elevator Pitch
Developing an Elevator PitchShai Goldman
 
Thysse krupp introducing tke_nov_2014_16-9_final
Thysse krupp introducing tke_nov_2014_16-9_finalThysse krupp introducing tke_nov_2014_16-9_final
Thysse krupp introducing tke_nov_2014_16-9_finalDavid Heaney
 
Elevator Controller
Elevator Controller Elevator Controller
Elevator Controller Mayank Jain
 
vertical-transportation (mechanical)
vertical-transportation (mechanical)vertical-transportation (mechanical)
vertical-transportation (mechanical)AnsherinaDelMundo
 
Bucket Elevator Basics: Definitions & Details
Bucket Elevator Basics: Definitions & DetailsBucket Elevator Basics: Definitions & Details
Bucket Elevator Basics: Definitions & DetailsWebster Industries Inc.
 
The space elevator
The space elevatorThe space elevator
The space elevator1197shivam
 
Strategic Marketing Plan - KONE Product Launch in Germany
Strategic Marketing Plan - KONE Product Launch in GermanyStrategic Marketing Plan - KONE Product Launch in Germany
Strategic Marketing Plan - KONE Product Launch in GermanyCole S. Grundstedt MBA, PMP®
 
PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)Krupal Bhoi
 
Real time machine learning
Real time machine learningReal time machine learning
Real time machine learningVinoth Kannan
 
Design and Model of Bucket Elevator
Design and Model of Bucket ElevatorDesign and Model of Bucket Elevator
Design and Model of Bucket ElevatorUtkarsh Amaravat
 
Design of Elevator Controller using Verilog HDL
Design of Elevator Controller using Verilog HDLDesign of Elevator Controller using Verilog HDL
Design of Elevator Controller using Verilog HDLVishesh Thakur
 

En vedette (20)

Exploiting Elevator Security Weaknesses by Deviant Ollam
Exploiting Elevator Security Weaknesses by Deviant OllamExploiting Elevator Security Weaknesses by Deviant Ollam
Exploiting Elevator Security Weaknesses by Deviant Ollam
 
New Indian Elevators, Maharashtra, Elevator Components
New Indian Elevators, Maharashtra, Elevator ComponentsNew Indian Elevators, Maharashtra, Elevator Components
New Indian Elevators, Maharashtra, Elevator Components
 
Breaking Vaults - Stealing Lastpass Protected Secrets by Martin Vigo
Breaking Vaults - Stealing Lastpass Protected Secrets by Martin VigoBreaking Vaults - Stealing Lastpass Protected Secrets by Martin Vigo
Breaking Vaults - Stealing Lastpass Protected Secrets by Martin Vigo
 
Diagram of an elevator
Diagram of an elevatorDiagram of an elevator
Diagram of an elevator
 
Omkar Electronics, Thane, Elevator Components
Omkar Electronics, Thane, Elevator ComponentsOmkar Electronics, Thane, Elevator Components
Omkar Electronics, Thane, Elevator Components
 
Elevator
ElevatorElevator
Elevator
 
Practical Machine Learning
Practical Machine LearningPractical Machine Learning
Practical Machine Learning
 
Developing an Elevator Pitch
Developing an Elevator PitchDeveloping an Elevator Pitch
Developing an Elevator Pitch
 
Thysse krupp introducing tke_nov_2014_16-9_final
Thysse krupp introducing tke_nov_2014_16-9_finalThysse krupp introducing tke_nov_2014_16-9_final
Thysse krupp introducing tke_nov_2014_16-9_final
 
Elevator Controller
Elevator Controller Elevator Controller
Elevator Controller
 
vertical-transportation (mechanical)
vertical-transportation (mechanical)vertical-transportation (mechanical)
vertical-transportation (mechanical)
 
Elevator1
Elevator1Elevator1
Elevator1
 
Bucket Elevator Basics: Definitions & Details
Bucket Elevator Basics: Definitions & DetailsBucket Elevator Basics: Definitions & Details
Bucket Elevator Basics: Definitions & Details
 
The space elevator
The space elevatorThe space elevator
The space elevator
 
Strategic Marketing Plan - KONE Product Launch in Germany
Strategic Marketing Plan - KONE Product Launch in GermanyStrategic Marketing Plan - KONE Product Launch in Germany
Strategic Marketing Plan - KONE Product Launch in Germany
 
PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)
 
Elevator Speech
Elevator SpeechElevator Speech
Elevator Speech
 
Real time machine learning
Real time machine learningReal time machine learning
Real time machine learning
 
Design and Model of Bucket Elevator
Design and Model of Bucket ElevatorDesign and Model of Bucket Elevator
Design and Model of Bucket Elevator
 
Design of Elevator Controller using Verilog HDL
Design of Elevator Controller using Verilog HDLDesign of Elevator Controller using Verilog HDL
Design of Elevator Controller using Verilog HDL
 

Similaire à An Introduction to Machine Learning

Hacking Predictive Modeling - RoadSec 2018
Hacking Predictive Modeling - RoadSec 2018Hacking Predictive Modeling - RoadSec 2018
Hacking Predictive Modeling - RoadSec 2018HJ van Veen
 
A gentle introduction to algorithm complexity analysis
A gentle introduction to algorithm complexity analysisA gentle introduction to algorithm complexity analysis
A gentle introduction to algorithm complexity analysisLewis Lin 🦊
 
Basics of machine_learning
Basics of machine_learningBasics of machine_learning
Basics of machine_learningHasib Shaikh
 
Deep learning with tensorflow
Deep learning with tensorflowDeep learning with tensorflow
Deep learning with tensorflowCharmi Chokshi
 
Data Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAMLData Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAMLPaco Nathan
 
DutchMLSchool. ML Business Perspective
DutchMLSchool. ML Business PerspectiveDutchMLSchool. ML Business Perspective
DutchMLSchool. ML Business PerspectiveBigML, Inc
 
ML MODULE 1_slideshare.pdf
ML MODULE 1_slideshare.pdfML MODULE 1_slideshare.pdf
ML MODULE 1_slideshare.pdfShiwani Gupta
 
From DBA to DE: Becoming a Data Engineer
From DBA to DE:  Becoming a Data Engineer From DBA to DE:  Becoming a Data Engineer
From DBA to DE: Becoming a Data Engineer Jim Czuprynski
 
Data Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLData Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLPaco Nathan
 
Intro to Machine Learning
Intro to Machine LearningIntro to Machine Learning
Intro to Machine LearningMohammed Ashour
 
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
 
A few questions about large scale machine learning
A few questions about large scale machine learningA few questions about large scale machine learning
A few questions about large scale machine learningTheodoros Vasiloudis
 
Artificial intelligence: Simulation of Intelligence
Artificial intelligence: Simulation of IntelligenceArtificial intelligence: Simulation of Intelligence
Artificial intelligence: Simulation of IntelligenceAbhishek Upadhyay
 
"Startups, comment gérer une équipe de développeurs" par Laurent Cerveau
"Startups, comment gérer une équipe de développeurs" par Laurent Cerveau"Startups, comment gérer une équipe de développeurs" par Laurent Cerveau
"Startups, comment gérer une équipe de développeurs" par Laurent CerveauTheFamily
 
Mastering python lesson1
Mastering python lesson1Mastering python lesson1
Mastering python lesson1Ruth Marvin
 
Why Code Is Cool (And Why You Should Learn It)
Why Code Is Cool (And Why You Should Learn It)Why Code Is Cool (And Why You Should Learn It)
Why Code Is Cool (And Why You Should Learn It)Andrew Marks
 
Python Machine Learning - Getting Started
Python Machine Learning - Getting StartedPython Machine Learning - Getting Started
Python Machine Learning - Getting StartedRafey Iqbal Rahman
 

Similaire à An Introduction to Machine Learning (20)

Hacking Predictive Modeling - RoadSec 2018
Hacking Predictive Modeling - RoadSec 2018Hacking Predictive Modeling - RoadSec 2018
Hacking Predictive Modeling - RoadSec 2018
 
A gentle introduction to algorithm complexity analysis
A gentle introduction to algorithm complexity analysisA gentle introduction to algorithm complexity analysis
A gentle introduction to algorithm complexity analysis
 
tensorflow.pptx
tensorflow.pptxtensorflow.pptx
tensorflow.pptx
 
Basics of machine_learning
Basics of machine_learningBasics of machine_learning
Basics of machine_learning
 
Deep learning with tensorflow
Deep learning with tensorflowDeep learning with tensorflow
Deep learning with tensorflow
 
Data Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAMLData Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAML
 
DutchMLSchool. ML Business Perspective
DutchMLSchool. ML Business PerspectiveDutchMLSchool. ML Business Perspective
DutchMLSchool. ML Business Perspective
 
ML MODULE 1_slideshare.pdf
ML MODULE 1_slideshare.pdfML MODULE 1_slideshare.pdf
ML MODULE 1_slideshare.pdf
 
From DBA to DE: Becoming a Data Engineer
From DBA to DE:  Becoming a Data Engineer From DBA to DE:  Becoming a Data Engineer
From DBA to DE: Becoming a Data Engineer
 
Data Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLData Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area ML
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Unit no_1.pptx
Unit no_1.pptxUnit no_1.pptx
Unit no_1.pptx
 
Intro to Machine Learning
Intro to Machine LearningIntro to Machine Learning
Intro to Machine Learning
 
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
 
A few questions about large scale machine learning
A few questions about large scale machine learningA few questions about large scale machine learning
A few questions about large scale machine learning
 
Artificial intelligence: Simulation of Intelligence
Artificial intelligence: Simulation of IntelligenceArtificial intelligence: Simulation of Intelligence
Artificial intelligence: Simulation of Intelligence
 
"Startups, comment gérer une équipe de développeurs" par Laurent Cerveau
"Startups, comment gérer une équipe de développeurs" par Laurent Cerveau"Startups, comment gérer une équipe de développeurs" par Laurent Cerveau
"Startups, comment gérer une équipe de développeurs" par Laurent Cerveau
 
Mastering python lesson1
Mastering python lesson1Mastering python lesson1
Mastering python lesson1
 
Why Code Is Cool (And Why You Should Learn It)
Why Code Is Cool (And Why You Should Learn It)Why Code Is Cool (And Why You Should Learn It)
Why Code Is Cool (And Why You Should Learn It)
 
Python Machine Learning - Getting Started
Python Machine Learning - Getting StartedPython Machine Learning - Getting Started
Python Machine Learning - Getting Started
 

Plus de Angelo Simone Scotto

Plus de Angelo Simone Scotto (10)

Keep Calm and Distributed Tracing
Keep Calm and Distributed TracingKeep Calm and Distributed Tracing
Keep Calm and Distributed Tracing
 
Rective Programming with Actor Model in .NET
Rective Programming with Actor Model in .NETRective Programming with Actor Model in .NET
Rective Programming with Actor Model in .NET
 
DevOps, Lean and You
DevOps, Lean and YouDevOps, Lean and You
DevOps, Lean and You
 
Agile, DevOps, X-Teams: Is software a social science?
Agile, DevOps, X-Teams: Is software a social science?Agile, DevOps, X-Teams: Is software a social science?
Agile, DevOps, X-Teams: Is software a social science?
 
Adapt or Go extinct
Adapt or Go extinctAdapt or Go extinct
Adapt or Go extinct
 
Discovering RxJS - MilanoJS Meeting in May 2016
Discovering RxJS - MilanoJS Meeting in May 2016Discovering RxJS - MilanoJS Meeting in May 2016
Discovering RxJS - MilanoJS Meeting in May 2016
 
Taming Asynchrony using RxJS
Taming Asynchrony using RxJSTaming Asynchrony using RxJS
Taming Asynchrony using RxJS
 
Redis Labcamp
Redis LabcampRedis Labcamp
Redis Labcamp
 
Are Microservices our future?
Are Microservices our future?Are Microservices our future?
Are Microservices our future?
 
Actor Model & Reactive Manifesto
Actor Model & Reactive ManifestoActor Model & Reactive Manifesto
Actor Model & Reactive Manifesto
 

Dernier

Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlkumarajju5765
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Onlineanilsa9823
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 

Dernier (20)

Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 

An Introduction to Machine Learning

  • 1. An introduction to Machine Learning Angelo Simone Scotto Cluster Reply
  • 2. Part I : Introduction
  • 3. 3 “Philosophy [nature] is written in that great book which ever is before our eyes -- I mean the universe -- but we cannot understand it if we do not first learn the language and grasp the symbols in which it is written. The book is written in mathematical language” “Measure what can be measured, and make measurable what cannot be measured.” The first Data Scientist ? Galileo Galilei (1564 – 1642)
  • 4. 4 “Philosophy [nature] is written in that great book which ever is before our eyes -- I mean the universe -- but we cannot understand it if we do not first learn the language and grasp the symbols in which it is written. The book is written in mathematical language” “Measure what can be measured, and make measurable what cannot be measured.” The first Data Scientist ? Galileo Galilei (1564 – 1642)
  • 5. 5 “Philosophy [nature] is written in that great book which ever is before our eyes -- I mean the universe -- but we cannot understand it if we do not first learn the language and grasp the symbols in which it is written. The book is written in mathematical language” “Measure what can be measured, and make measurable what cannot be measured.” The first Data Scientist ? Galileo Galilei (1564 – 1642)
  • 6. 6 “Machine learning algorithms can figure out how to perform important tasks by generalizing from examples. This is often feasible and cost- effective where manual programming is not.” “A Few Useful Things to Know about Machine Learning”, P.Domingos • Learn it when you can’t code it (recognize speech or images) • Learn it when you can’t scale (recommendations, spam, fraud detection) • Learn it when you have to adapt (predictive typing, ai gaming) • Learn it when you can’t track it (robot control, self driving car) Why Machine Learning
  • 7. Machine Learning Workflow Experiments look like data-flow configurations of what you would like to do with your information and with your models. In order to do predictive analytics you just have to: • Import or connect to some current or historical data. • Build and validate a model. • Publish trained models to make live predictions.
  • 8. Choosing Models (Algorithms) Problems: • Anomaly Detection • Classification • Two – Class • Multiclass • Clustering • Regression • Text Analytics Questions: • How large is your data? • Do you need to train incrementally? • Data is categorical or numerical? • Do you need to understand the classifier? • Is the problem complex (non-linear)?
  • 9. Choosing Machine Learning Tools Two main languages R: • Programming Language for Statistical Computing and Graphics. • Aimed at Data Scientists who can Develop. • Freely Available. Python: • Multipurpose programming language. • Aimed at Developers who can do Data Science. • Freely Available. All-in-one (cloud) platforms: • Azure Machine Learning • Amazon Machine Learning • Google Prediction API
  • 10. Part II : A simple example
  • 11. Azure Machine Learning • A Machine Learning solution completely in the cloud. • 18 February 2015: Announced as Generally Available from Microsoft. • No software to install, just a browser is required. • Provides also a free plan to experiment with. • Share your work with anyone with internet access. • Visual composition of data science workflow with pre-made ML algorithms ready to use. • Allows rapid prototyping (experiments) to create a better model. • Deploy trained models as REST web services. • Support of R and Python scripts to support advanced scenarios or previous works.
  • 12. 12 Everyone wrote one at least once…
  • 13. 13 Everyone wrote one at least once…
  • 14. 14 :( Everyone wrote one at least once…
  • 15. 15 • Not having a real elevator i wrote an elevator simulator. • People enters at 9.00 AM (more or less…) and exits at 6.00 PM (more or less…) • One hour of lunch-break (more or less…). • Nobody working during weekends (more or less…) • 5 Floors (0 to 4) • 2 Elevators (A and B) • 10 People working • 5 at floor 3 • 3 at floor 4 • 2 at floor 2 • 0 at floor 1 • 6 months of simulation (i know, no holidays…) Instead of coding, what about making it learn ?
  • 16. 16 Cleaning Data and Selecting Features • Exclude all except DayOfWeek, Hour, Elevator Floor. • Treat Elevator Floor as label (not number).
  • 17. 17 Training the selected model. • Decision Forest is a common model for multiclass prediction. • Train Elevator Floor based on DayOfWeek and Hour.
  • 18. 18 And yet it learned…
  • 19. 19 And yet it learned…
  • 20. 20 A more advanced experiment • Introducing «Agatha» • Being software developer we are experimenting with data generated by our software development process. • Predicting correlation between components «Developers who changed this file also changed…» • Predicting issue / bugs according to historical data Uses complexity metrics, change frequency and defects found in unit tests. • We are using Machine Learning on our process to gain insights and improve our software production process. No «cobbler's children go unshod» syndrome
  • 21. Part III : A developer’s perspective
  • 22. Classical Software vs Machine Learning «Classic» Software Development Machine Learning Approach Human writing code Human supplying data Work is done (mainly) on algorithm selection. Work is done (mainly) on input/output selection (feature engineering) Model is (mainly) a white box. Model is (mainly) a black box. Input / Output is less important. Algorithm is less important.
  • 23. Data is indeed crude oil… It needs refinement Great things happen in machine learning when human and machine work together, combining a person’s knowledge of how to create relevant features from the data with the machine’s talent for optimization. Feature engineering: when you use your knowledge about the data to create fields that make machine learning algorithms work better. It is easily the most important factor in determining the success of a machine learning project
  • 24. More data beats a cleverer algorithm… More data wins. There’s increasingly good evidence that, in a lot of problems, very simple machine learning techniques can be levered into incredibly powerful classifiers with the addition of loads of data. Computer algorithms trying to learn models have only a relatively few tricks they can do efficiently, and many of them are not so very different. Performance differences between algorithms are typically not large. Thus, if you want better classifiers: 1. Engineer better features 2. Get your hands on more high-quality data
  • 25. Algorithm importance: the Netflix prize «Classic» approach • Data was provided. • Algorithm was researched.
  • 26. Algorithm importance: the Netflix prize «Classic» approach • Data was provided. • Algorithm was researched. • Three years later a winner was found…
  • 27. Algorithm importance: the Netflix prize «Classic» approach • Data was provided. • Algorithm was researched. • Three years later a winner was found… • But the algorithm was never used…

Notes de l'éditeur

  1. Da ritoccare
  2. Da ritoccare
  3. Da ritoccare