Machine Learning for Modern Developers

C
cacoisCarnegie Mellon University
Machine Learning For Modern
Developers
C. Aaron Cois, PhD
Wanna chat?
@aaroncois
www.codehenge.net
github.com/cacois
Let’s talk about Machine Learning
The Expectation
The Sales Pitch
The Reaction
My Customers
The Definition
“Field of study that gives computers the ability
to learn without being explicitly programmed”
~ Arthur Samuel, 1959
That sounds like Artificial Intelligence
That sounds like Artificial Intelligence
True
That sounds like Artificial Intelligence
Machine Learning is a branch of
Artificial Intelligence
That sounds like Artificial Intelligence
ML focuses on systems that learn from
data
Many AI systems are simply programmed
to do one task really well, such as playing
Checkers. This is a solved problem, no
learning required.
Isn’t that how Skynet starts?
Isn’t that how Skynet starts?
Ya, probably
Isn’t that how Skynet starts?
But it’s also how we do this…
…and this…
…and this
Isn’t this just statistics?
Machine Learning can take statistical analyses
and make them automated and adaptive
Statistical and numerical methods are Machine
Learning’s hammer
Supervised vs. Unsupervised
Supervised = System trained on human
labeled data (desired output
known)
Unsupervised = System operates on unlabeled
data (desired output
unknown)
Supervised learning is all about
generalizing a function or mapping
between inputs and outputs
Supervised Learning Example:
Complementary Colors
…
Training Data
…
Test Data
Supervised Learning Example:
Complementary Colors
…
Training Data
f( ) =
…
Test Data
Supervised Learning Example:
Complementary Colors
…
Training Data
f( ) =
f( ) =
…
Test Data
Let’s Talk Data
Supervised Learning Example:
Complementary Colors
input,output
red,green
violet,yellow
blue,orange
orange,blue
…
training_data.csv
red
green
yellow
orange
blue
…
test_data.csv
First line
indicates
data
fields
Feature Vectors
A data point is represented by a feature vector
Ninja Turtle = [name, weapon, mask_color]
data point 1 = [michelangelo,nunchaku,orange]
data point 2 = [leonardo,katana,blue]
…
Machine Learning for Modern Developers
Feature Space
Feature vectors define a point in an n-
dimensional feature space
0
0.1
0.2
0.3
0.4
0.5
0.6
0 0.2 0.4 0.6 0.8 1 1.2
If my feature vectors
contain only 2 values,
this defines a point in
2-D space:
(x,y) = (1.0,0.5)
High-Dimensional Feature Spaces
Most feature vectors are much higher
dimensionality, such as:
FVlaptop = [name,screen size,weight,battery life,
proc,proc speed,ram,price,hard drive,OS]
This means we can’t easily display it visually, but
statistics and matrix math work just fine
Feature Space Manipulation
Feature spaces are important!
Many machine learning tasks are solved by
selecting the appropriate features to define a
useful feature space
Task: Classification
Classification is the act of placing a new data point
within a defined category
Supervised learning task
Ex. 1: Predicting customer gender through shopping
data
Ex. 2: From features, classifying an image as a car or
truck
Linear Classification
Linear classification uses a linear combination
of features to classify objects
Linear Classification
Linear classification uses a linear combination
of features to classify objects
result Weight vector
Feature vector
Dot product
Linear Classification
Another way to think
of this is that we
want to draw a line
(or hyperplane) that
separates datapoints
from different
classes
Sometimes this is easy
Classes are well
separated in this
feature space
Both H1 and H2
accurately separate
the classes.
Other times, less so
This decision boundary works for most data points,
but we can see some incorrect classifications
Example: Iris Data
There’s a famous dataset published by R.A.
Fisher in 1936 containing measurements of
three types of Iris plants
You can download it yourself here:
http://archive.ics.uci.edu/ml/datasets/Iris
Example: Iris Data
Features:
1. sepal length in cm
2. sepal width in cm
3. petal length in cm
4. petal width in cm
5. class
Data:
5.1,3.5,1.4,0.2,Iris-setosa
4.9,3.0,1.4,0.2,Iris-setosa
…
7.0,3.2,4.7,1.4,Iris-versicolor
…
6.8,3.0,5.5,2.1,Iris-virginica
…
Data Analysis
We have 4 features in our vector (the 5th is the
classification answer)
Which of the 4 features are useful for predicting
class?
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
0 1 2 3 4 5 6 7 8 9
sepiawidth
sepia length
sepia length vs width
Different feature spaces give different
insight
0
1
2
3
4
5
6
7
8
0 1 2 3 4 5 6 7 8 9
petallength
sepia length
sepia length vs petal length
0
0.5
1
1.5
2
2.5
3
0 1 2 3 4 5 6 7 8
petalwidth
petal length
petal length vs petal width
0
0.5
1
1.5
2
2.5
3
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
petalwidth
sepia width
sepia width vs petal width
Half the battle is choosing the features
that best represent the discrimination
you want
Feature Space Transforms
The goal is to map data into an effective feature space
Demo
Logistic Regression
Classification technique based on fitting a
logistic curve to your data
Logistic Regression
P(Y | b, x) =
1
1+e-(b0+b1x)
Logistic Regression
Class 2
Class 1 Probability of data point being in a class
Model weights
P(Y | b, x) =
1
1+e-(b0+b1x)
More Dimensions!
Extending the logistic function into N-
dimensions:
More Dimensions!
Extending the logistic function into N-
dimensions:
Vectors!
More weights!
Tools
Torch7
Demo: Logistic Regression (Scikit-
Learn)
from sklearn.datasets import load_iris
from sklearn.linear_model import LogisticRegression
iris = load_iris()
# set data
X, y = iris.data, iris.target
# train classifier
clf = LogisticRegression().fit(X, y)
# 'setosa' data point
observed_data_point = [[ 5.0, 3.6, 1.3, 0.25]]
# classify
clf.predict(observed_data_point)
# determine classification probabilities
clf.predict_proba(observed_data_point)
Learning
In all cases so far, “learning” is just a matter of
finding the best values for your weights
Simply, find the function that fits the training
data the best
More dimensions more features we can
consider
What are we doing?
Logistic regression is actually maximizing the
likelihood of the training data
This is an indirect method, but often has good
results
What we really want is to maximize the accuracy
of our model
Support Vector Machines (SVMs)
Remember how a large number of lines could
separate my classes?
Support Vector Machines (SVMs)
SVMs try to find the optimal classification
boundary by maximizing the margin between
classes
Bigger margins mean better
classification of new data points
Points on the edge of a class are called Support
Vectors
Support
vectors
Demo: Support Vector Machines
(Scikit-Learn)
from sklearn.datasets import load_iris
from sklearn.svm import LinearSVC
iris = load_iris()
# set data
X, y = iris.data, iris.target
# run regression
clf = LinearSVC().fit(X, y)
# 'setosa' data point
observed_data_point = [[ 5.0, 3.6, 1.3, 0.25]]
# classify
clf.predict(observed_data_point)
Want to try it yourself?
Working code from this talk:
https://github.com/cacois/ml-
classification-examples
Some great online courses
Coursera (Free!)
https://www.coursera.org/course/ml
Caltech (Free!)
http://work.caltech.edu/telecourse
Udacity (free trial)
https://www.udacity.com/course/ud675
Machine Learning for Modern Developers
AMA
@aaroncois
www.codehenge.net
github.com/cacois
1 of 66

Recommended

Machine Learning by
Machine LearningMachine Learning
Machine LearningCarlos J. Costa
177 views32 slides
Data visualization using py plot part i by
Data visualization using py plot part iData visualization using py plot part i
Data visualization using py plot part iTutorialAICSIP
837 views5 slides
Data visualization with R by
Data visualization with RData visualization with R
Data visualization with RBiswajeet Dasmajumdar
539 views41 slides
IRJET - Application of Linear Algebra in Machine Learning by
IRJET -  	  Application of Linear Algebra in Machine LearningIRJET -  	  Application of Linear Algebra in Machine Learning
IRJET - Application of Linear Algebra in Machine LearningIRJET Journal
29 views10 slides
Mscs discussion by
Mscs discussionMscs discussion
Mscs discussionCrizalde Malaque
17 views10 slides
Applications of Matrices by
Applications of MatricesApplications of Matrices
Applications of Matricessanthosh kumar
73.7K views19 slides

More Related Content

What's hot

Application of interpolation in CSE by
Application of interpolation in CSEApplication of interpolation in CSE
Application of interpolation in CSEMd. Tanvir Hossain
6.1K views31 slides
sentiment analysis using support vector machine by
sentiment analysis using support vector machinesentiment analysis using support vector machine
sentiment analysis using support vector machineShital Andhale
1.2K views23 slides
Matrices in computer applications by
Matrices in computer applicationsMatrices in computer applications
Matrices in computer applicationsRayyan777
16.1K views8 slides
Introduction into machine learning by
Introduction into machine learningIntroduction into machine learning
Introduction into machine learningmohamed Naas
556 views36 slides
IRJET- Performance Evaluation of Various Classification Algorithms by
IRJET- Performance Evaluation of Various Classification AlgorithmsIRJET- Performance Evaluation of Various Classification Algorithms
IRJET- Performance Evaluation of Various Classification AlgorithmsIRJET Journal
15 views6 slides
KNN - Classification Model (Step by Step) by
KNN - Classification Model (Step by Step)KNN - Classification Model (Step by Step)
KNN - Classification Model (Step by Step)Manish nath choudhary
905 views10 slides

What's hot(19)

sentiment analysis using support vector machine by Shital Andhale
sentiment analysis using support vector machinesentiment analysis using support vector machine
sentiment analysis using support vector machine
Shital Andhale1.2K views
Matrices in computer applications by Rayyan777
Matrices in computer applicationsMatrices in computer applications
Matrices in computer applications
Rayyan77716.1K views
Introduction into machine learning by mohamed Naas
Introduction into machine learningIntroduction into machine learning
Introduction into machine learning
mohamed Naas556 views
IRJET- Performance Evaluation of Various Classification Algorithms by IRJET Journal
IRJET- Performance Evaluation of Various Classification AlgorithmsIRJET- Performance Evaluation of Various Classification Algorithms
IRJET- Performance Evaluation of Various Classification Algorithms
IRJET Journal15 views
Me 443 4 plotting curves Erdi Karaçal Mechanical Engineer University of Gaz... by Erdi Karaçal
Me 443   4 plotting curves Erdi Karaçal Mechanical Engineer University of Gaz...Me 443   4 plotting curves Erdi Karaçal Mechanical Engineer University of Gaz...
Me 443 4 plotting curves Erdi Karaçal Mechanical Engineer University of Gaz...
Erdi Karaçal618 views
Machine Learning Overview by Mykhailo Koval
Machine Learning OverviewMachine Learning Overview
Machine Learning Overview
Mykhailo Koval1.3K views
Minimization of Assignment Problems by ijtsrd
Minimization of Assignment ProblemsMinimization of Assignment Problems
Minimization of Assignment Problems
ijtsrd1.1K views
Ashish garg research paper 660_CamReady by Ashish Garg
Ashish garg research paper 660_CamReadyAshish garg research paper 660_CamReady
Ashish garg research paper 660_CamReady
Ashish Garg208 views
Unsupervised Learning: Clustering by Experfy
Unsupervised Learning: Clustering Unsupervised Learning: Clustering
Unsupervised Learning: Clustering
Experfy91 views
Vol 9 No 1 - January 2014 by ijcsbi
Vol 9 No 1 - January 2014Vol 9 No 1 - January 2014
Vol 9 No 1 - January 2014
ijcsbi106 views
Parallel processing technique for high speed image segmentation using color by IAEME Publication
Parallel processing technique for high speed image segmentation using colorParallel processing technique for high speed image segmentation using color
Parallel processing technique for high speed image segmentation using color
IAEME Publication145 views
Mmt 001 by sujatam8
Mmt 001Mmt 001
Mmt 001
sujatam8506 views
Visualizing the model selection process by Rebecca Bilbro
Visualizing the model selection processVisualizing the model selection process
Visualizing the model selection process
Rebecca Bilbro338 views
A Review on Non Linear Dimensionality Reduction Techniques for Face Recognition by rahulmonikasharma
A Review on Non Linear Dimensionality Reduction Techniques for Face RecognitionA Review on Non Linear Dimensionality Reduction Techniques for Face Recognition
A Review on Non Linear Dimensionality Reduction Techniques for Face Recognition
rahulmonikasharma131 views
Technology in maths and maths in technology by shajunisha
Technology  in maths and maths in technologyTechnology  in maths and maths in technology
Technology in maths and maths in technology
shajunisha320 views

Viewers also liked

Devopssecfail by
DevopssecfailDevopssecfail
Devopssecfailcacois
798 views55 slides
Pattern diagnostics 2015 by
Pattern diagnostics 2015Pattern diagnostics 2015
Pattern diagnostics 2015Thomas Wilckens
2.3K views17 slides
Machine Learning in Modern Medicine with Erin LeDell at Stanford Med by
Machine Learning in Modern Medicine with Erin LeDell at Stanford MedMachine Learning in Modern Medicine with Erin LeDell at Stanford Med
Machine Learning in Modern Medicine with Erin LeDell at Stanford MedSri Ambati
5.2K views46 slides
Machine Learning for Medical Image Analysis: What, where and how? by
Machine Learning for Medical Image Analysis:What, where and how?Machine Learning for Medical Image Analysis:What, where and how?
Machine Learning for Medical Image Analysis: What, where and how?Debdoot Sheet
7.9K views20 slides
The future of medicine by
The future of medicineThe future of medicine
The future of medicineRobert J Miller MD
2.8K views55 slides
NYAI - Commodity Machine Learning & Beyond by Andreas Mueller by
NYAI - Commodity Machine Learning & Beyond by Andreas MuellerNYAI - Commodity Machine Learning & Beyond by Andreas Mueller
NYAI - Commodity Machine Learning & Beyond by Andreas MuellerRizwan Habib
791 views37 slides

Viewers also liked(14)

Devopssecfail by cacois
DevopssecfailDevopssecfail
Devopssecfail
cacois798 views
Machine Learning in Modern Medicine with Erin LeDell at Stanford Med by Sri Ambati
Machine Learning in Modern Medicine with Erin LeDell at Stanford MedMachine Learning in Modern Medicine with Erin LeDell at Stanford Med
Machine Learning in Modern Medicine with Erin LeDell at Stanford Med
Sri Ambati5.2K views
Machine Learning for Medical Image Analysis: What, where and how? by Debdoot Sheet
Machine Learning for Medical Image Analysis:What, where and how?Machine Learning for Medical Image Analysis:What, where and how?
Machine Learning for Medical Image Analysis: What, where and how?
Debdoot Sheet7.9K views
NYAI - Commodity Machine Learning & Beyond by Andreas Mueller by Rizwan Habib
NYAI - Commodity Machine Learning & Beyond by Andreas MuellerNYAI - Commodity Machine Learning & Beyond by Andreas Mueller
NYAI - Commodity Machine Learning & Beyond by Andreas Mueller
Rizwan Habib791 views
H2O for Medicine and Intro to H2O in Python by Sri Ambati
H2O for Medicine and Intro to H2O in PythonH2O for Medicine and Intro to H2O in Python
H2O for Medicine and Intro to H2O in Python
Sri Ambati2.4K views
Architectural case study of chandigarh by louis i khan by Rajat Katarne
Architectural case study of chandigarh by louis i khanArchitectural case study of chandigarh by louis i khan
Architectural case study of chandigarh by louis i khan
Rajat Katarne27.9K views
Cept case study by sahid_akhtar
Cept case studyCept case study
Cept case study
sahid_akhtar31.7K views
case study of chandigarh college of architecture by Abhishek Tiwari
case study of chandigarh college of architecturecase study of chandigarh college of architecture
case study of chandigarh college of architecture
Abhishek Tiwari50.8K views

Similar to Machine Learning for Modern Developers

Introduction to Machine Learning with SciKit-Learn by
Introduction to Machine Learning with SciKit-LearnIntroduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-LearnBenjamin Bengfort
17.5K views78 slides
ML Lec 1 (1).pptx by
ML Lec 1 (1).pptxML Lec 1 (1).pptx
ML Lec 1 (1).pptxMuhammadTalha278665
12 views52 slides
notes as .ppt by
notes as .pptnotes as .ppt
notes as .pptbutest
763 views36 slides
Machine learning introduction by
Machine learning introductionMachine learning introduction
Machine learning introductionAnas Jamil
470 views38 slides
Data Science Machine by
Data Science Machine Data Science Machine
Data Science Machine Luis Taveras EMBA, MS
636 views10 slides
Machine Learning ICS 273A by
Machine Learning ICS 273AMachine Learning ICS 273A
Machine Learning ICS 273Abutest
520 views30 slides

Similar to Machine Learning for Modern Developers(20)

Introduction to Machine Learning with SciKit-Learn by Benjamin Bengfort
Introduction to Machine Learning with SciKit-LearnIntroduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-Learn
Benjamin Bengfort17.5K views
notes as .ppt by butest
notes as .pptnotes as .ppt
notes as .ppt
butest763 views
Machine learning introduction by Anas Jamil
Machine learning introductionMachine learning introduction
Machine learning introduction
Anas Jamil470 views
Machine Learning ICS 273A by butest
Machine Learning ICS 273AMachine Learning ICS 273A
Machine Learning ICS 273A
butest520 views
IRJET- Unabridged Review of Supervised Machine Learning Regression and Classi... by IRJET Journal
IRJET- Unabridged Review of Supervised Machine Learning Regression and Classi...IRJET- Unabridged Review of Supervised Machine Learning Regression and Classi...
IRJET- Unabridged Review of Supervised Machine Learning Regression and Classi...
IRJET Journal13 views
Presentazione tutorial by dariospin93
Presentazione tutorialPresentazione tutorial
Presentazione tutorial
dariospin93518 views
The ABC of Implementing Supervised Machine Learning with Python.pptx by Ruby Shrestha
The ABC of Implementing Supervised Machine Learning with Python.pptxThe ABC of Implementing Supervised Machine Learning with Python.pptx
The ABC of Implementing Supervised Machine Learning with Python.pptx
Ruby Shrestha199 views
Introduction to Datamining Concept and Techniques by Sơn Còm Nhom
Introduction to Datamining Concept and TechniquesIntroduction to Datamining Concept and Techniques
Introduction to Datamining Concept and Techniques
Sơn Còm Nhom857 views
Building a performing Machine Learning model from A to Z by Charles Vestur
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
Charles Vestur31.4K views
Lecture 09(introduction to machine learning) by Jeet Das
Lecture 09(introduction to machine learning)Lecture 09(introduction to machine learning)
Lecture 09(introduction to machine learning)
Jeet Das237 views
Cs6301 programming and datastactures by K.s. Ramesh
Cs6301 programming and datastacturesCs6301 programming and datastactures
Cs6301 programming and datastactures
K.s. Ramesh2.2K views
C++ [ principles of object oriented programming ] by Rome468
C++ [ principles of object oriented programming ]C++ [ principles of object oriented programming ]
C++ [ principles of object oriented programming ]
Rome4681.4K views
Voting Based Extreme Learning Machine Essay Examples by Christina Padilla
Voting Based Extreme Learning Machine Essay ExamplesVoting Based Extreme Learning Machine Essay Examples
Voting Based Extreme Learning Machine Essay Examples

More from cacois

Avoiding Callback Hell with Async.js by
Avoiding Callback Hell with Async.jsAvoiding Callback Hell with Async.js
Avoiding Callback Hell with Async.jscacois
21.4K views43 slides
Node.js Patterns for Discerning Developers by
Node.js Patterns for Discerning DevelopersNode.js Patterns for Discerning Developers
Node.js Patterns for Discerning Developerscacois
34.8K views76 slides
Hadoop: The elephant in the room by
Hadoop: The elephant in the roomHadoop: The elephant in the room
Hadoop: The elephant in the roomcacois
833 views41 slides
High-Volume Data Collection and Real Time Analytics Using Redis by
High-Volume Data Collection and Real Time Analytics Using RedisHigh-Volume Data Collection and Real Time Analytics Using Redis
High-Volume Data Collection and Real Time Analytics Using Rediscacois
25.2K views75 slides
Automate your Development Environments with Vagrant by
Automate your Development Environments with VagrantAutomate your Development Environments with Vagrant
Automate your Development Environments with Vagrantcacois
2K views17 slides
Node.js: A Guided Tour by
Node.js: A Guided TourNode.js: A Guided Tour
Node.js: A Guided Tourcacois
3.1K views57 slides

More from cacois(6)

Avoiding Callback Hell with Async.js by cacois
Avoiding Callback Hell with Async.jsAvoiding Callback Hell with Async.js
Avoiding Callback Hell with Async.js
cacois21.4K views
Node.js Patterns for Discerning Developers by cacois
Node.js Patterns for Discerning DevelopersNode.js Patterns for Discerning Developers
Node.js Patterns for Discerning Developers
cacois34.8K views
Hadoop: The elephant in the room by cacois
Hadoop: The elephant in the roomHadoop: The elephant in the room
Hadoop: The elephant in the room
cacois833 views
High-Volume Data Collection and Real Time Analytics Using Redis by cacois
High-Volume Data Collection and Real Time Analytics Using RedisHigh-Volume Data Collection and Real Time Analytics Using Redis
High-Volume Data Collection and Real Time Analytics Using Redis
cacois25.2K views
Automate your Development Environments with Vagrant by cacois
Automate your Development Environments with VagrantAutomate your Development Environments with Vagrant
Automate your Development Environments with Vagrant
cacois2K views
Node.js: A Guided Tour by cacois
Node.js: A Guided TourNode.js: A Guided Tour
Node.js: A Guided Tour
cacois3.1K views

Recently uploaded

GigaIO: The March of Composability Onward to Memory with CXL by
GigaIO: The March of Composability Onward to Memory with CXLGigaIO: The March of Composability Onward to Memory with CXL
GigaIO: The March of Composability Onward to Memory with CXLCXL Forum
126 views12 slides
The Importance of Cybersecurity for Digital Transformation by
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationNUS-ISS
25 views26 slides
Tunable Laser (1).pptx by
Tunable Laser (1).pptxTunable Laser (1).pptx
Tunable Laser (1).pptxHajira Mahmood
21 views37 slides
"How we switched to Kanban and how it integrates with product planning", Vady... by
"How we switched to Kanban and how it integrates with product planning", Vady..."How we switched to Kanban and how it integrates with product planning", Vady...
"How we switched to Kanban and how it integrates with product planning", Vady...Fwdays
61 views24 slides
Microchip: CXL Use Cases and Enabling Ecosystem by
Microchip: CXL Use Cases and Enabling EcosystemMicrochip: CXL Use Cases and Enabling Ecosystem
Microchip: CXL Use Cases and Enabling EcosystemCXL Forum
129 views12 slides
[2023] Putting the R! in R&D.pdf by
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdfEleanor McHugh
38 views127 slides

Recently uploaded(20)

GigaIO: The March of Composability Onward to Memory with CXL by CXL Forum
GigaIO: The March of Composability Onward to Memory with CXLGigaIO: The March of Composability Onward to Memory with CXL
GigaIO: The March of Composability Onward to Memory with CXL
CXL Forum126 views
The Importance of Cybersecurity for Digital Transformation by NUS-ISS
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital Transformation
NUS-ISS25 views
"How we switched to Kanban and how it integrates with product planning", Vady... by Fwdays
"How we switched to Kanban and how it integrates with product planning", Vady..."How we switched to Kanban and how it integrates with product planning", Vady...
"How we switched to Kanban and how it integrates with product planning", Vady...
Fwdays61 views
Microchip: CXL Use Cases and Enabling Ecosystem by CXL Forum
Microchip: CXL Use Cases and Enabling EcosystemMicrochip: CXL Use Cases and Enabling Ecosystem
Microchip: CXL Use Cases and Enabling Ecosystem
CXL Forum129 views
[2023] Putting the R! in R&D.pdf by Eleanor McHugh
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh38 views
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV by Splunk
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk86 views
MemVerge: Memory Viewer Software by CXL Forum
MemVerge: Memory Viewer SoftwareMemVerge: Memory Viewer Software
MemVerge: Memory Viewer Software
CXL Forum118 views
AMD: 4th Generation EPYC CXL Demo by CXL Forum
AMD: 4th Generation EPYC CXL DemoAMD: 4th Generation EPYC CXL Demo
AMD: 4th Generation EPYC CXL Demo
CXL Forum126 views
MemVerge: Gismo (Global IO-free Shared Memory Objects) by CXL Forum
MemVerge: Gismo (Global IO-free Shared Memory Objects)MemVerge: Gismo (Global IO-free Shared Memory Objects)
MemVerge: Gismo (Global IO-free Shared Memory Objects)
CXL Forum112 views
Photowave Presentation Slides - 11.8.23.pptx by CXL Forum
Photowave Presentation Slides - 11.8.23.pptxPhotowave Presentation Slides - 11.8.23.pptx
Photowave Presentation Slides - 11.8.23.pptx
CXL Forum126 views
Spesifikasi Lengkap ASUS Vivobook Go 14 by Dot Semarang
Spesifikasi Lengkap ASUS Vivobook Go 14Spesifikasi Lengkap ASUS Vivobook Go 14
Spesifikasi Lengkap ASUS Vivobook Go 14
Dot Semarang35 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10165 views
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu... by NUS-ISS
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
NUS-ISS32 views
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy by Fwdays
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy
Fwdays40 views
MemVerge: Past Present and Future of CXL by CXL Forum
MemVerge: Past Present and Future of CXLMemVerge: Past Present and Future of CXL
MemVerge: Past Present and Future of CXL
CXL Forum110 views
Understanding GenAI/LLM and What is Google Offering - Felix Goh by NUS-ISS
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix Goh
NUS-ISS39 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman25 views

Machine Learning for Modern Developers

Editor's Notes

  1. What some customers think
  2. What some people think
  3. And like any toolbox, the contents are tools – not processes, procedures, or algorithms. Machine Learning provides these components.
  4. Supervised learning algorithms are trained on labelled examples, i.e., input where the desired output is known. The supervised learning algorithm attempts to generalise a function or mapping from inputs to outputs which can then be used speculatively to generate an output for previously unseen inputs. Unsupervised learning algorithms operate on unlabelled examples, i.e., input where the desired output is unknown. Here the objective is to discover structure in the data (e.g. through a cluster analysis), not to generalise a mapping from inputs to outputs.
  5. Note: many possible boundaries between black and white dots
  6. plot_iris.py
  7. DEMO
  8. i.e. many logistic models can work the same on training data, some are better than others. We can’t tell.