SlideShare uma empresa Scribd logo
1 de 39
Machine Learning
Integrating Capabilities into your Team
WELCOME
Cameron Vetter
I have 20 years of experience using Microsoft tools and technologies to develop
software. I have experience in many roles including Development, Architecture,
Infrastructure, Management, and Leadership roles. I've worked for some of the largest
companies in the world and for small local companies getting a breadth of experience
in different Corporate Cultures. Currently, I work at SafeNet Consulting, where I get to
do what I love... Architect, Design, and Develop great software! I currently focus on
Microservices, SOA, Azure, Cognitive Toolkit, and Kubernetes.
Principal Cloud Consultant
A Partner to Advise and Support
About SafeNet
Consulting
SafeNet specializes in being partners in your
success. We currently focus on Custom Application
Development, Cloud Consulting Services,
Data & Analytics, and User Experience Strategy.
Introduction
Machine Learning Definition
Tooling and Standards
Integration and Deployment
Versioning
Bias and Ethics
My Recommendations
Question & Answer
Agenda
Machine Learning Definition
Wikipedia’s
Definition
Machine learning (ML) is the scientific study of algorithms and
statistical models that computer systems use to effectively perform
a specific task without using explicit instructions, relying on
patterns and inference instead. Machine learning algorithms build a
mathematical model of sample data, known as "training data", in
order to make predictions or decisions without being explicitly
programmed to perform the task
Patterns and Inference
Relies on Patterns and Inference not explicit
instructions or Algorithms
Model Based
The training is used to train a model that is the core of
the Machine Learning Model
Not Just Glorified Statistics
We borrow many terms from statistics such as
biases, weights, models, and regressions, but that
does not make this segment of statistics, ML is a
segment of computer algorithms
Training Data
Uses some form of training data to learn from to
make its decisions
Tooling and Standards
Prebuilt Services
/ Machine Learning Based Web Services /
• Vision
• Speech
• Language
• Knowledge
• Search
24 Different Services available via REST API’s and SDK’s
No Coding Services
/ Custom Machine Learning Services without the Code /
• Targets Data Scientists and Data
Engineers
• Poorly suited to Developers
• Creates REST Services
High Level Libraries
/ Neural Network Libraries /
• Targets Developers
• Most are Python Based
• Abstracts away complexity of ML
Low Level Libraries
/ Neural Network Libraries /
• Targets Machine Learning Devs
• Most are Python Based
• Tools provided to allow easy
implementation of algorithms
Neural Network Exchange Format Open Neural Network Exchange Format
Standard
/ Not Much Competition /
Integration and Deployment
REST Services
Isolate your Machine Learning code from
other code creating appropriate
boundaries and allowing it to be
independently released.
Encapsulated
Consumers should not have to
understand the machine learning,
present them a simple RESTful interface
like any other service designed for
consumption.
Simple
Unless you can’t isolate the code. When
embedding in an IOT Edge device your
Machine Learning can not be isolated,
but can still have logical boundaries,
such as using Docker Containers.
Integrated
N-Tier
Add this service into your business logic tier. Can
also fit well into this architecture.
Others
Onion, Event Driven, CQRS, ESB, Spaghetti, etc…
Services / MicroServices
Fits well with my recommendation to wrap this in a
RESTful service, very easy to turn that into a
Service
Architecture
IAAS / PAAS
Platform As A Service is a great choice, but
Infastructure As A Service can work well also.
Containers
Fits well in a container, consider keeping your model
in one container and your service in a separate
container.
Edge Devices
Embed your Machine Learning into IOT devices,
laptops, web pages, or any other devices on the
Edge.
Containers
Training = N/A
Deployment = Azure Kubernetes Service
PAAS
Training = Azure Notebooks
Deployment = Azure Web Apps
IAAS
Training = Azure Data Science VM’s
Deployment = Azure Data Science VM’s
Examples
Azure tools that can be applied to different deployment scenarios
Versioning
21
Design for Replacement
Your team will want to iterate often, especially in the beginning. Plan your versioning strategy as though you are
swapping out you ML training daily. Don’t tightly couple your ML Service to your ML Training!
A/B
Testing
Assume you will need A/ B Testing. ML Models
that perfectly during testing can fall apart in the
real world!
Which Performs Better?
What Do I need to Version?
Standard Source Control procedures and labeling.
Cloud Storage. Each Data Set Version should be
independently accessible.
Serialize your model and check it into its own
Source Control Repo. Label Appropriately!
Serialize your training and scalars and check them
into Source Control with the Model.
Code
Data
Model
Training
Interface
Compatibility
• Standardize on Model Inputs
and Outputs.
• Consider Model Interface
changes to be a breaking
change.
• Breaking changes will require
versioning the service.
Bias and Other Risks
Bias is an error from erroneous assumptions
in the learning algorithm. High bias can cause
an algorithm to miss the relevant relations
between features and target outputs. This is
referred to as underfitting.
Bias
Source: https://en.wikipedia.org/wiki/Bias%E2%80%93variance_tradeoff
Variance is an error from sensitivity to
small fluctuations in the training set. High
variance can cause an algorithm to
model the random noise in the training
data, rather than the intended outputs.
This is referred to as overfitting.
Variance
Source: https://en.wikipedia.org/wiki/Bias%E2%80%93variance_tradeoff
Real world data is messy. Expect to have too
little data potentially causing Bias + Variance,
or missing data points in a data set. Data is
the hard part of machine learning.
Incomplete Data
My Recommendations
Don’t start by hiring a Data Scientist. There are
many tools that can help people with less expensive
skill sets. Developers, Data Analyst’s, and Data
Architects will be able to help you get started and
identify when you need a Data Scientist.
Data
Scientists
Start with off the shelf prebuilt
services. Select problems that can fit
this solutions, and get some quick
wins.
Prebuilt ML Services
Use some Neural Networks available
on GitHub. Allow your team to get
used to the language / tool chain.
Prebuilt Neural Networks
Create a Proof of Concept within your
domain leveraging High Level
Libraries to build your own Neural
Network.
POC with High Level Libraries
Use these high level libraries to
create full production systems. Don’t
bother with the low level libraries,
unless a specific need forces you to.
Full Solutions
Start Small
/ Work smart and save money /
Source: https://bit.ly/netflixjupyter/
Prebuilt
Strategy
I recommend using the Façade Design Pattern to
ensure that you are loosely coupled to the prebuilt
service you are consuming. Don’t get tightly tied into a
platform, especially when you are experimenting!
• Pick a very popular library like Keras
• Integrate into a REST Service
• Plug the REST Service into your Current
Architecture and Current Infrastructure
High Level
Library
Strategy
ONNX is a open format to represent deep
learning models. With ONNX, AI
developers can more easily move models
between state-of-the-art tools and choose
the combination that is best for them.
ONNX is developed and supported by a
community of partners.
ONNX.AI
Be Flexible
• Don’t buy a ton of GPU’s and Servers!
• Leverage the Cloud To Train
• Use Batch AI and Data Science VM’s in
Azure
Training
• Reach consensus on your versioning
strategy up front.
• Use separate containers for your ML
Service and model
• Plan for A/B Testing
• Have the ability to instantly roll forward or
backward
Up Front
Versioning
Strategy
Use a uniform versioning convention that
includes time and date.
For Example:
(datetime)-(model name)-
(model version)- (training script id).json
Versioning
Scheme
• Tough problem to solve.
• Your data is much closer to code.
• Check out off the shelf tools: Data Version
Control, Pachyderm, CookieCutter Data
Science, Luigi
Data
Version
Control
Source: https://shuaiw.github.io/2017/07/30/versioning-data-science.html
www.cameronvetter.com
Any Questions?
@poshporcupine Linkedin.com/in/cameronvetter

Mais conteúdo relacionado

Mais procurados

Bots & conversational AI
Bots & conversational AIBots & conversational AI
Bots & conversational AIgrojasn
 
Ml ops intro session
Ml ops   intro sessionMl ops   intro session
Ml ops intro sessionAvinash Patil
 
Clean coding in plsql and sql, v2
Clean coding in plsql and sql, v2Clean coding in plsql and sql, v2
Clean coding in plsql and sql, v2Brendan Furey
 
Machine Learning on IBM Watson Studio
Machine Learning on IBM Watson StudioMachine Learning on IBM Watson Studio
Machine Learning on IBM Watson StudioUpkar Lidder
 
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...Aditya Bhattacharya
 
Ml ops deployment choices
Ml ops   deployment choicesMl ops   deployment choices
Ml ops deployment choicesAvinash Patil
 
Java training in bangalore
Java training in bangaloreJava training in bangalore
Java training in bangalorezasi besant
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First
Elements of DDD with ASP.NET MVC & Entity Framework Code FirstElements of DDD with ASP.NET MVC & Entity Framework Code First
Elements of DDD with ASP.NET MVC & Entity Framework Code FirstEnea Gabriel
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2Enea Gabriel
 
Revolutionizing Enterprise Software Development through Continuous Delivery &...
Revolutionizing Enterprise Software Development through Continuous Delivery &...Revolutionizing Enterprise Software Development through Continuous Delivery &...
Revolutionizing Enterprise Software Development through Continuous Delivery &...People10 Technosoft Private Limited
 
Open Source Data Annotation Platform for NLP, CV, Tabular, and Log Data
Open Source Data Annotation Platform for NLP, CV, Tabular, and Log DataOpen Source Data Annotation Platform for NLP, CV, Tabular, and Log Data
Open Source Data Annotation Platform for NLP, CV, Tabular, and Log DataAll Things Open
 
Basics of Software Architecture for .NET Developers
Basics of Software Architecture for .NET DevelopersBasics of Software Architecture for .NET Developers
Basics of Software Architecture for .NET DevelopersDan Douglas
 
Developing ML-enabled Data Pipelines on Databricks using IDE & CI/CD at Runta...
Developing ML-enabled Data Pipelines on Databricks using IDE & CI/CD at Runta...Developing ML-enabled Data Pipelines on Databricks using IDE & CI/CD at Runta...
Developing ML-enabled Data Pipelines on Databricks using IDE & CI/CD at Runta...Databricks
 
Magdalena Stenius: MLOPS Will Change Machine Learning
Magdalena Stenius: MLOPS Will Change Machine LearningMagdalena Stenius: MLOPS Will Change Machine Learning
Magdalena Stenius: MLOPS Will Change Machine LearningLviv Startup Club
 

Mais procurados (16)

Bots & conversational AI
Bots & conversational AIBots & conversational AI
Bots & conversational AI
 
Ml ops intro session
Ml ops   intro sessionMl ops   intro session
Ml ops intro session
 
Clean coding in plsql and sql, v2
Clean coding in plsql and sql, v2Clean coding in plsql and sql, v2
Clean coding in plsql and sql, v2
 
Machine Learning on IBM Watson Studio
Machine Learning on IBM Watson StudioMachine Learning on IBM Watson Studio
Machine Learning on IBM Watson Studio
 
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...
Aditya Bhattacharya - Enterprise DL - Accelerating Deep Learning Solutions to...
 
Ml ops deployment choices
Ml ops   deployment choicesMl ops   deployment choices
Ml ops deployment choices
 
Java training in bangalore
Java training in bangaloreJava training in bangalore
Java training in bangalore
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First
Elements of DDD with ASP.NET MVC & Entity Framework Code FirstElements of DDD with ASP.NET MVC & Entity Framework Code First
Elements of DDD with ASP.NET MVC & Entity Framework Code First
 
Zend Framework
Zend FrameworkZend Framework
Zend Framework
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
 
Revolutionizing Enterprise Software Development through Continuous Delivery &...
Revolutionizing Enterprise Software Development through Continuous Delivery &...Revolutionizing Enterprise Software Development through Continuous Delivery &...
Revolutionizing Enterprise Software Development through Continuous Delivery &...
 
Best PHP Frameworks
Best PHP FrameworksBest PHP Frameworks
Best PHP Frameworks
 
Open Source Data Annotation Platform for NLP, CV, Tabular, and Log Data
Open Source Data Annotation Platform for NLP, CV, Tabular, and Log DataOpen Source Data Annotation Platform for NLP, CV, Tabular, and Log Data
Open Source Data Annotation Platform for NLP, CV, Tabular, and Log Data
 
Basics of Software Architecture for .NET Developers
Basics of Software Architecture for .NET DevelopersBasics of Software Architecture for .NET Developers
Basics of Software Architecture for .NET Developers
 
Developing ML-enabled Data Pipelines on Databricks using IDE & CI/CD at Runta...
Developing ML-enabled Data Pipelines on Databricks using IDE & CI/CD at Runta...Developing ML-enabled Data Pipelines on Databricks using IDE & CI/CD at Runta...
Developing ML-enabled Data Pipelines on Databricks using IDE & CI/CD at Runta...
 
Magdalena Stenius: MLOPS Will Change Machine Learning
Magdalena Stenius: MLOPS Will Change Machine LearningMagdalena Stenius: MLOPS Will Change Machine Learning
Magdalena Stenius: MLOPS Will Change Machine Learning
 

Semelhante a Integrating Machine Learning Capabilities into your team

Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...Databricks
 
Ai & Data Analytics 2018 - Azure Databricks for data scientist
Ai & Data Analytics 2018 - Azure Databricks for data scientistAi & Data Analytics 2018 - Azure Databricks for data scientist
Ai & Data Analytics 2018 - Azure Databricks for data scientistAlberto Diaz Martin
 
Big Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft AzureBig Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft AzureMark Tabladillo
 
AI-Plugins-Planners-Persona-SemanticKernel.pptx
AI-Plugins-Planners-Persona-SemanticKernel.pptxAI-Plugins-Planners-Persona-SemanticKernel.pptx
AI-Plugins-Planners-Persona-SemanticKernel.pptxUdaiappa Ramachandran
 
Global AI Bootcamp Madrid - Azure Databricks
Global AI Bootcamp Madrid - Azure DatabricksGlobal AI Bootcamp Madrid - Azure Databricks
Global AI Bootcamp Madrid - Azure DatabricksAlberto Diaz Martin
 
Build, upgrade and connect your applications to the World
Build, upgrade and connect your applications to the WorldBuild, upgrade and connect your applications to the World
Build, upgrade and connect your applications to the WorldCLMS UK Ltd
 
No BS Guide to Deep Learning in the Enterprise
No BS Guide to Deep Learning in the EnterpriseNo BS Guide to Deep Learning in the Enterprise
No BS Guide to Deep Learning in the EnterpriseJesus Rodriguez
 
Cloud Enablement Engine Role Definition and Mapping
Cloud Enablement Engine Role Definition and MappingCloud Enablement Engine Role Definition and Mapping
Cloud Enablement Engine Role Definition and MappingTom Laszewski
 
Dirigible powered by Orion for Cloud Development (EclipseCon EU 2015)
Dirigible powered by Orion for Cloud Development (EclipseCon EU 2015)Dirigible powered by Orion for Cloud Development (EclipseCon EU 2015)
Dirigible powered by Orion for Cloud Development (EclipseCon EU 2015)Nedelcho Delchev
 
[AI] ML Operationalization with Microsoft Azure
[AI] ML Operationalization with Microsoft Azure[AI] ML Operationalization with Microsoft Azure
[AI] ML Operationalization with Microsoft AzureKorkrid Akepanidtaworn
 
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdfCLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdfssuserbe139c
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated MLMark Tabladillo
 
Modern software architect post the agile wave
Modern software architect post the agile waveModern software architect post the agile wave
Modern software architect post the agile waveNiels Bech Nielsen
 
Simplifying AI and Machine Learning with Watson Studio
Simplifying AI and Machine Learning with Watson StudioSimplifying AI and Machine Learning with Watson Studio
Simplifying AI and Machine Learning with Watson StudioDataWorks Summit
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Shelly Megan
 
Clean Infrastructure as Code
Clean Infrastructure as Code Clean Infrastructure as Code
Clean Infrastructure as Code QAware GmbH
 
An Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPagesAn Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPagesUlrich Krause
 
Databricks for MLOps Presentation (AI/ML)
Databricks for MLOps Presentation (AI/ML)Databricks for MLOps Presentation (AI/ML)
Databricks for MLOps Presentation (AI/ML)Knoldus Inc.
 
Entity Framework Core 1.0
Entity Framework Core 1.0Entity Framework Core 1.0
Entity Framework Core 1.0Senthil Kumar
 

Semelhante a Integrating Machine Learning Capabilities into your team (20)

Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
 
Ai & Data Analytics 2018 - Azure Databricks for data scientist
Ai & Data Analytics 2018 - Azure Databricks for data scientistAi & Data Analytics 2018 - Azure Databricks for data scientist
Ai & Data Analytics 2018 - Azure Databricks for data scientist
 
Big Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft AzureBig Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft Azure
 
AI-Plugins-Planners-Persona-SemanticKernel.pptx
AI-Plugins-Planners-Persona-SemanticKernel.pptxAI-Plugins-Planners-Persona-SemanticKernel.pptx
AI-Plugins-Planners-Persona-SemanticKernel.pptx
 
DOT NET FULL STACK.pptx
DOT NET FULL STACK.pptxDOT NET FULL STACK.pptx
DOT NET FULL STACK.pptx
 
Global AI Bootcamp Madrid - Azure Databricks
Global AI Bootcamp Madrid - Azure DatabricksGlobal AI Bootcamp Madrid - Azure Databricks
Global AI Bootcamp Madrid - Azure Databricks
 
Build, upgrade and connect your applications to the World
Build, upgrade and connect your applications to the WorldBuild, upgrade and connect your applications to the World
Build, upgrade and connect your applications to the World
 
No BS Guide to Deep Learning in the Enterprise
No BS Guide to Deep Learning in the EnterpriseNo BS Guide to Deep Learning in the Enterprise
No BS Guide to Deep Learning in the Enterprise
 
Cloud Enablement Engine Role Definition and Mapping
Cloud Enablement Engine Role Definition and MappingCloud Enablement Engine Role Definition and Mapping
Cloud Enablement Engine Role Definition and Mapping
 
Dirigible powered by Orion for Cloud Development (EclipseCon EU 2015)
Dirigible powered by Orion for Cloud Development (EclipseCon EU 2015)Dirigible powered by Orion for Cloud Development (EclipseCon EU 2015)
Dirigible powered by Orion for Cloud Development (EclipseCon EU 2015)
 
[AI] ML Operationalization with Microsoft Azure
[AI] ML Operationalization with Microsoft Azure[AI] ML Operationalization with Microsoft Azure
[AI] ML Operationalization with Microsoft Azure
 
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdfCLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
 
Modern software architect post the agile wave
Modern software architect post the agile waveModern software architect post the agile wave
Modern software architect post the agile wave
 
Simplifying AI and Machine Learning with Watson Studio
Simplifying AI and Machine Learning with Watson StudioSimplifying AI and Machine Learning with Watson Studio
Simplifying AI and Machine Learning with Watson Studio
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!
 
Clean Infrastructure as Code
Clean Infrastructure as Code Clean Infrastructure as Code
Clean Infrastructure as Code
 
An Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPagesAn Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPages
 
Databricks for MLOps Presentation (AI/ML)
Databricks for MLOps Presentation (AI/ML)Databricks for MLOps Presentation (AI/ML)
Databricks for MLOps Presentation (AI/ML)
 
Entity Framework Core 1.0
Entity Framework Core 1.0Entity Framework Core 1.0
Entity Framework Core 1.0
 

Mais de Cameron Vetter

Why do most machine learning projects never make it to production
Why do most machine learning projects never make it to productionWhy do most machine learning projects never make it to production
Why do most machine learning projects never make it to productionCameron Vetter
 
Ml.net machine learning for .net developers!
Ml.net machine learning for .net developers!Ml.net machine learning for .net developers!
Ml.net machine learning for .net developers!Cameron Vetter
 
Cloud First Architecture
Cloud First ArchitectureCloud First Architecture
Cloud First ArchitectureCameron Vetter
 
Mixed reality the second generation is all about ux
Mixed reality   the second generation is all about uxMixed reality   the second generation is all about ux
Mixed reality the second generation is all about uxCameron Vetter
 
Global ai night sept 2019 - Milwaukee
Global ai night sept 2019 - MilwaukeeGlobal ai night sept 2019 - Milwaukee
Global ai night sept 2019 - MilwaukeeCameron Vetter
 
Azure Notebooks - Jupyter for the Cloud
Azure Notebooks - Jupyter for the CloudAzure Notebooks - Jupyter for the Cloud
Azure Notebooks - Jupyter for the CloudCameron Vetter
 
An Introduction to Artificial Neural Networks
An Introduction to Artificial Neural NetworksAn Introduction to Artificial Neural Networks
An Introduction to Artificial Neural NetworksCameron Vetter
 
Azure Batch AI for Neural Networks
Azure Batch AI for Neural Networks Azure Batch AI for Neural Networks
Azure Batch AI for Neural Networks Cameron Vetter
 
Using a Service Bus for Microservice Communication
Using a Service Bus for Microservice CommunicationUsing a Service Bus for Microservice Communication
Using a Service Bus for Microservice CommunicationCameron Vetter
 
Augmented reality for the Enterprise
Augmented reality for the EnterpriseAugmented reality for the Enterprise
Augmented reality for the EnterpriseCameron Vetter
 
Augmented Reality - Let’s Make Some Holograms! (UXD Version)
Augmented Reality - Let’s Make Some Holograms! (UXD Version)Augmented Reality - Let’s Make Some Holograms! (UXD Version)
Augmented Reality - Let’s Make Some Holograms! (UXD Version)Cameron Vetter
 
Augmented Reality - Let’s Make Some Holgrams! (Developer Version)
Augmented Reality - Let’s Make Some Holgrams! (Developer Version)Augmented Reality - Let’s Make Some Holgrams! (Developer Version)
Augmented Reality - Let’s Make Some Holgrams! (Developer Version)Cameron Vetter
 

Mais de Cameron Vetter (12)

Why do most machine learning projects never make it to production
Why do most machine learning projects never make it to productionWhy do most machine learning projects never make it to production
Why do most machine learning projects never make it to production
 
Ml.net machine learning for .net developers!
Ml.net machine learning for .net developers!Ml.net machine learning for .net developers!
Ml.net machine learning for .net developers!
 
Cloud First Architecture
Cloud First ArchitectureCloud First Architecture
Cloud First Architecture
 
Mixed reality the second generation is all about ux
Mixed reality   the second generation is all about uxMixed reality   the second generation is all about ux
Mixed reality the second generation is all about ux
 
Global ai night sept 2019 - Milwaukee
Global ai night sept 2019 - MilwaukeeGlobal ai night sept 2019 - Milwaukee
Global ai night sept 2019 - Milwaukee
 
Azure Notebooks - Jupyter for the Cloud
Azure Notebooks - Jupyter for the CloudAzure Notebooks - Jupyter for the Cloud
Azure Notebooks - Jupyter for the Cloud
 
An Introduction to Artificial Neural Networks
An Introduction to Artificial Neural NetworksAn Introduction to Artificial Neural Networks
An Introduction to Artificial Neural Networks
 
Azure Batch AI for Neural Networks
Azure Batch AI for Neural Networks Azure Batch AI for Neural Networks
Azure Batch AI for Neural Networks
 
Using a Service Bus for Microservice Communication
Using a Service Bus for Microservice CommunicationUsing a Service Bus for Microservice Communication
Using a Service Bus for Microservice Communication
 
Augmented reality for the Enterprise
Augmented reality for the EnterpriseAugmented reality for the Enterprise
Augmented reality for the Enterprise
 
Augmented Reality - Let’s Make Some Holograms! (UXD Version)
Augmented Reality - Let’s Make Some Holograms! (UXD Version)Augmented Reality - Let’s Make Some Holograms! (UXD Version)
Augmented Reality - Let’s Make Some Holograms! (UXD Version)
 
Augmented Reality - Let’s Make Some Holgrams! (Developer Version)
Augmented Reality - Let’s Make Some Holgrams! (Developer Version)Augmented Reality - Let’s Make Some Holgrams! (Developer Version)
Augmented Reality - Let’s Make Some Holgrams! (Developer Version)
 

Último

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 

Último (20)

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 

Integrating Machine Learning Capabilities into your team

  • 3. Cameron Vetter I have 20 years of experience using Microsoft tools and technologies to develop software. I have experience in many roles including Development, Architecture, Infrastructure, Management, and Leadership roles. I've worked for some of the largest companies in the world and for small local companies getting a breadth of experience in different Corporate Cultures. Currently, I work at SafeNet Consulting, where I get to do what I love... Architect, Design, and Develop great software! I currently focus on Microservices, SOA, Azure, Cognitive Toolkit, and Kubernetes. Principal Cloud Consultant
  • 4. A Partner to Advise and Support About SafeNet Consulting SafeNet specializes in being partners in your success. We currently focus on Custom Application Development, Cloud Consulting Services, Data & Analytics, and User Experience Strategy.
  • 5. Introduction Machine Learning Definition Tooling and Standards Integration and Deployment Versioning Bias and Ethics My Recommendations Question & Answer Agenda
  • 7. Wikipedia’s Definition Machine learning (ML) is the scientific study of algorithms and statistical models that computer systems use to effectively perform a specific task without using explicit instructions, relying on patterns and inference instead. Machine learning algorithms build a mathematical model of sample data, known as "training data", in order to make predictions or decisions without being explicitly programmed to perform the task
  • 8. Patterns and Inference Relies on Patterns and Inference not explicit instructions or Algorithms Model Based The training is used to train a model that is the core of the Machine Learning Model Not Just Glorified Statistics We borrow many terms from statistics such as biases, weights, models, and regressions, but that does not make this segment of statistics, ML is a segment of computer algorithms Training Data Uses some form of training data to learn from to make its decisions
  • 10. Prebuilt Services / Machine Learning Based Web Services / • Vision • Speech • Language • Knowledge • Search 24 Different Services available via REST API’s and SDK’s
  • 11. No Coding Services / Custom Machine Learning Services without the Code / • Targets Data Scientists and Data Engineers • Poorly suited to Developers • Creates REST Services
  • 12. High Level Libraries / Neural Network Libraries / • Targets Developers • Most are Python Based • Abstracts away complexity of ML
  • 13. Low Level Libraries / Neural Network Libraries / • Targets Machine Learning Devs • Most are Python Based • Tools provided to allow easy implementation of algorithms
  • 14. Neural Network Exchange Format Open Neural Network Exchange Format Standard / Not Much Competition /
  • 16. REST Services Isolate your Machine Learning code from other code creating appropriate boundaries and allowing it to be independently released. Encapsulated Consumers should not have to understand the machine learning, present them a simple RESTful interface like any other service designed for consumption. Simple Unless you can’t isolate the code. When embedding in an IOT Edge device your Machine Learning can not be isolated, but can still have logical boundaries, such as using Docker Containers. Integrated
  • 17. N-Tier Add this service into your business logic tier. Can also fit well into this architecture. Others Onion, Event Driven, CQRS, ESB, Spaghetti, etc… Services / MicroServices Fits well with my recommendation to wrap this in a RESTful service, very easy to turn that into a Service Architecture
  • 18. IAAS / PAAS Platform As A Service is a great choice, but Infastructure As A Service can work well also. Containers Fits well in a container, consider keeping your model in one container and your service in a separate container. Edge Devices Embed your Machine Learning into IOT devices, laptops, web pages, or any other devices on the Edge.
  • 19. Containers Training = N/A Deployment = Azure Kubernetes Service PAAS Training = Azure Notebooks Deployment = Azure Web Apps IAAS Training = Azure Data Science VM’s Deployment = Azure Data Science VM’s Examples Azure tools that can be applied to different deployment scenarios
  • 21. 21 Design for Replacement Your team will want to iterate often, especially in the beginning. Plan your versioning strategy as though you are swapping out you ML training daily. Don’t tightly couple your ML Service to your ML Training!
  • 22. A/B Testing Assume you will need A/ B Testing. ML Models that perfectly during testing can fall apart in the real world! Which Performs Better?
  • 23. What Do I need to Version? Standard Source Control procedures and labeling. Cloud Storage. Each Data Set Version should be independently accessible. Serialize your model and check it into its own Source Control Repo. Label Appropriately! Serialize your training and scalars and check them into Source Control with the Model. Code Data Model Training
  • 24. Interface Compatibility • Standardize on Model Inputs and Outputs. • Consider Model Interface changes to be a breaking change. • Breaking changes will require versioning the service.
  • 25. Bias and Other Risks
  • 26. Bias is an error from erroneous assumptions in the learning algorithm. High bias can cause an algorithm to miss the relevant relations between features and target outputs. This is referred to as underfitting. Bias Source: https://en.wikipedia.org/wiki/Bias%E2%80%93variance_tradeoff
  • 27. Variance is an error from sensitivity to small fluctuations in the training set. High variance can cause an algorithm to model the random noise in the training data, rather than the intended outputs. This is referred to as overfitting. Variance Source: https://en.wikipedia.org/wiki/Bias%E2%80%93variance_tradeoff
  • 28. Real world data is messy. Expect to have too little data potentially causing Bias + Variance, or missing data points in a data set. Data is the hard part of machine learning. Incomplete Data
  • 30. Don’t start by hiring a Data Scientist. There are many tools that can help people with less expensive skill sets. Developers, Data Analyst’s, and Data Architects will be able to help you get started and identify when you need a Data Scientist. Data Scientists
  • 31. Start with off the shelf prebuilt services. Select problems that can fit this solutions, and get some quick wins. Prebuilt ML Services Use some Neural Networks available on GitHub. Allow your team to get used to the language / tool chain. Prebuilt Neural Networks Create a Proof of Concept within your domain leveraging High Level Libraries to build your own Neural Network. POC with High Level Libraries Use these high level libraries to create full production systems. Don’t bother with the low level libraries, unless a specific need forces you to. Full Solutions Start Small / Work smart and save money / Source: https://bit.ly/netflixjupyter/
  • 32. Prebuilt Strategy I recommend using the Façade Design Pattern to ensure that you are loosely coupled to the prebuilt service you are consuming. Don’t get tightly tied into a platform, especially when you are experimenting!
  • 33. • Pick a very popular library like Keras • Integrate into a REST Service • Plug the REST Service into your Current Architecture and Current Infrastructure High Level Library Strategy
  • 34. ONNX is a open format to represent deep learning models. With ONNX, AI developers can more easily move models between state-of-the-art tools and choose the combination that is best for them. ONNX is developed and supported by a community of partners. ONNX.AI Be Flexible
  • 35. • Don’t buy a ton of GPU’s and Servers! • Leverage the Cloud To Train • Use Batch AI and Data Science VM’s in Azure Training
  • 36. • Reach consensus on your versioning strategy up front. • Use separate containers for your ML Service and model • Plan for A/B Testing • Have the ability to instantly roll forward or backward Up Front Versioning Strategy
  • 37. Use a uniform versioning convention that includes time and date. For Example: (datetime)-(model name)- (model version)- (training script id).json Versioning Scheme
  • 38. • Tough problem to solve. • Your data is much closer to code. • Check out off the shelf tools: Data Version Control, Pachyderm, CookieCutter Data Science, Luigi Data Version Control Source: https://shuaiw.github.io/2017/07/30/versioning-data-science.html