SlideShare una empresa de Scribd logo
1 de 25
Machine
Learning
With ML.NET
Getting Started With
Machine Learning for
.NET Stack Developers.
I love writing reusable components, solving technical problems for
team & Designing Architecture of solutions along with managing
projects in scrum.
Senior
Project
Manager
Braindigit IT Solutions
Application
& Database
Specialist
Nutrition Innovation Lab (USAID Project)
Senior
Software
Engineer
Bitscrafters INC
Software
Engineer
Softech Infosys
Education MSC IT (Data Science)
Masters in Business Administration
Bachelors of Computer Application
Applying Machine
Learning?
Needed for tasks that are too complex for humans to
code directly.
Have a Problem That Needs ML?
• Classify Given Input into A or B or C
• Classification & Multi-Class Classification
• Which Marketing Campaign Brought More Customers : Win Gold or Win
Lunch Coupon
• Anomaly detection flags unexpected or unusual events or behaviors
• Fraud Detection of Credit Card
• Mail Spam Detection
• Make Numerical Predictions
• Predict Sales of Next Quarter
• Predict Whiskey Sales Looking at Temperature
Have a Problem That Needs ML?
• Understand the Structure of Data
• Clustering Algorithms
• Which Age Group Like Same Type Series
• Learn From Outcome & Decide on Other Actions
• Self Driving Car: At a yellow light, brake or accelerate?
Do you have the Data?
• Relevancy of Your Data Against your Problem.
• You Need to Find Life Expectancy%, You have series of data about their
expenses in buying Vegetables. (Irrelevant)
• You Need to Find Life Expectancy%, You have series of data about their
expenses in buying Vegetables & also you know if they were likely TOXIC.
(Relevant)
• Do you Have Enough Data?
• It Depends; No One Can Tell You
• MORE DATA ALWAYS BETTER
• You can determine Enough data using, Statistical Heuristic, Dataset Size vs
Model Skill, Domain Expertise, Analogy & Domain Expertise
Do you have the Data?
• Accuracy of the Data
• Highly Concentrated Wrong Data is Problem
• Accuracy of Data is itself a first ask since Machine Learning are Predictions,
and Predictions with wrong data would be Highly Incorrect.
• Is your Data Connected?
• Significant Amount Of Missing Data would hamper your ML
• You Should have Connected Data.
Introduction To ML.NET
Microsoft recently open sourced its machine learning
framework that is available on GitHub. ML.NET is an open
source cross-platform for machine learning for .NET
framework.
Introduction To ML.NET
• Originally developed in Microsoft, used in Windows, Bing, Azure, and
more
• The idea is to help .NET developers get in on cutting-edge ML
programming without having to learn the underlying technical
details associated with creating and tuning machine learning
models.
• Cross Platform- runs on any platform where 64 bit .NET Core or later is available
• Open Source
• Licensed Under MIT can be found in GitHub.
ML.NET Capabilities
ML Tasks
• Classification (e.g. text categorization and
sentiment analysis)
• Regression (e.g. forecasting and price
prediction)
• Clustering
Training Models
• .NET APIs for training models, using
models for predictions
• Core components of this framework,
such as learning algorithms, transforms,
and core ML data structures
Extensions or Integration
• Integration with Python
Algorithms in Ml.NET
Future RoadMap
• Additional ML Tasks and Scenarios
• Deep Learning with TensorFlow (Already Integrated in ML.NET 0.5) &
CNTK
• ONNX support
• Scale-out on Azure
• Better GUI to simplify ML tasks
• Integration with VS Tools for AI
• Language Innovation for .NET
• CNTK, Accord.NET, TensorFlow integration with one single API
Let’s Apply Some
Machine Learning
• Ask Question That has an Answer (Exact Answer)
• Apply the Right Method to Find the Answer
Problem: Taxi Fare Prediction
• Problem
• Predicting the fare of a taxi trip in New York City
• Statistical Inferencing
• regression analysis is a set of statistical processes for estimating the
relationships among variables. WIKI.
• (y=ax+b), many techniques for modeling and analyzing several variables,
when the focus is on the relationship between a dependent variable and one
or more independent variables (or 'predictors').
Solution: Taxi Fare Prediction
Load & Transform
Data
•Pipeline-Workflow to Train Your Data
•TextLoader- Load CSV Data
•ColumnCopier- Predict Values are Copied to Specified Column
•CategoricalOneHotVectorizer- transform the categorical data into numeric values
•ColumnConcatenator-combines all of the feature columns into the Features
Choosing Learning
Algorithm &
Training Model
• Regression- FastTreeRegressor learner utilizes gradient boosting. Gradient boosting is a machine learning technique for
regression problems. It builds each regression tree in a step-wise fashion. It uses a pre-defined loss function to measure
the error in each step and correct for it in the next.
Evaluate Model
• Process of checking how well the values are predicted
• RMS- measure of the differences between values predicted by a model and the values observed. The lower it is the
Better.
• Rsquared- The Closer it is to 1 it’s better. Provides a measure of how well observed outcomes are replicated by the
model, based on the proportion of total variation of outcomes explained by the model
Demo
Problem: Sentiment Analysis
• Problem
• Predict the sentiment of a new website comment, either positive or negative
• Statistical Inferencing
• Classification
• Binary or binomial classification is the task of classifying the elements of a
given set into two groups (predicting which group each one belongs to) on the
basis of a classification rule.
Solution: Sentiment Analysis
Load & Transform
Data
•Pipeline-Workflow to Train Your Data
•TextLoader-convert the SentimentText column into a numeric vector
Choosing Learning
Algorithm &
Training Model
• Binary Classification- FastTreeBinaryClassifier, Gradient boosting is a machine learning technique for regression problems,
In case of a binary classification problem, the output is converted to a probability by using some form of calibration.
Evaluate Model
• Process of checking how well the values are predicted
• Computes the quality metrics for the PredictionModel using the specified data set.
Demo
Making Right
Predictions
Making Data Right
• Get More Quality Data
• Generate More Data
• Data Cleaning
• Reframing Problem
• Transform Your Data :Gaussian
• Select Your Features Right
• Engineer Your Features
Implying the Algorithm Right
• Resampling: Use a method and configuration that makes the best use of available
data. The k-fold cross-validation method with a hold out validation dataset might
be a best practice.
• Evaluation Metric. What metric is used to evaluate the skill of predictions? Use a
metric that best captures the requirements of the problem and the domain
• Baseline Performance. What is the baseline performance for comparing
algorithms? Use a random algorithm or a zero rule algorithm (predict mean or
mode) to establish a baseline by which to rank all evaluated algorithms.
• Spot Check Linear Algorithms
• Spot Check Nonlinear Algorithms.
• Steal from Literature. What algorithms are reported in the literature
• Standard Configurations
• Try Alternatives
This is how it would look like.
https://f5blogs.wordpress.com/
https://www.linkedin.com/in/dev-raj-gautam/

Más contenido relacionado

La actualidad más candente

Introduction to financial management
Introduction to financial managementIntroduction to financial management
Introduction to financial managementRahul Goyal
 
링크드 데이터 구축 공정 가이드V1.0
링크드 데이터 구축 공정 가이드V1.0링크드 데이터 구축 공정 가이드V1.0
링크드 데이터 구축 공정 가이드V1.0Hansung University
 
Chapitre 4 heritage et polymorphisme
Chapitre 4 heritage et polymorphismeChapitre 4 heritage et polymorphisme
Chapitre 4 heritage et polymorphismeAmir Souissi
 
Topic 6 fintech
Topic 6 fintechTopic 6 fintech
Topic 6 fintechallen1215
 
Financial Planning
Financial PlanningFinancial Planning
Financial PlanningJohn Obote
 
Basics of Anti-Money Laundering : A Really Quick Primer
Basics of Anti-Money Laundering : A Really Quick PrimerBasics of Anti-Money Laundering : A Really Quick Primer
Basics of Anti-Money Laundering : A Really Quick Primercomplianceonline123
 
HTML 5 - intro - en francais
HTML 5 - intro - en francaisHTML 5 - intro - en francais
HTML 5 - intro - en francaisVlad Posea
 
(BDT205) Your First Big Data Application On AWS
(BDT205) Your First Big Data Application On AWS(BDT205) Your First Big Data Application On AWS
(BDT205) Your First Big Data Application On AWSAmazon Web Services
 
01 introduction-to-digital-finance
01 introduction-to-digital-finance01 introduction-to-digital-finance
01 introduction-to-digital-financeinnov-acts-ltd
 
Financial Technology (Fintech)
Financial Technology (Fintech)Financial Technology (Fintech)
Financial Technology (Fintech)Chintu@life
 
Data mining presentation.ppt
Data mining presentation.pptData mining presentation.ppt
Data mining presentation.pptneelamoberoi1030
 
Design patterns comportementaux
Design patterns comportementauxDesign patterns comportementaux
Design patterns comportementauxYannick Chartois
 
Anti Money Laundering
Anti Money LaunderingAnti Money Laundering
Anti Money LaunderingTaha Khan
 

La actualidad más candente (20)

Introduction to financial management
Introduction to financial managementIntroduction to financial management
Introduction to financial management
 
링크드 데이터 구축 공정 가이드V1.0
링크드 데이터 구축 공정 가이드V1.0링크드 데이터 구축 공정 가이드V1.0
링크드 데이터 구축 공정 가이드V1.0
 
Chapitre 4 heritage et polymorphisme
Chapitre 4 heritage et polymorphismeChapitre 4 heritage et polymorphisme
Chapitre 4 heritage et polymorphisme
 
Topic 6 fintech
Topic 6 fintechTopic 6 fintech
Topic 6 fintech
 
Chapitre 2 hadoop
Chapitre 2 hadoopChapitre 2 hadoop
Chapitre 2 hadoop
 
Financial Planning
Financial PlanningFinancial Planning
Financial Planning
 
Support JEE Servlet Jsp MVC M.Youssfi
Support JEE Servlet Jsp MVC M.YoussfiSupport JEE Servlet Jsp MVC M.Youssfi
Support JEE Servlet Jsp MVC M.Youssfi
 
Basics of Anti-Money Laundering : A Really Quick Primer
Basics of Anti-Money Laundering : A Really Quick PrimerBasics of Anti-Money Laundering : A Really Quick Primer
Basics of Anti-Money Laundering : A Really Quick Primer
 
HTML 5 - intro - en francais
HTML 5 - intro - en francaisHTML 5 - intro - en francais
HTML 5 - intro - en francais
 
(BDT205) Your First Big Data Application On AWS
(BDT205) Your First Big Data Application On AWS(BDT205) Your First Big Data Application On AWS
(BDT205) Your First Big Data Application On AWS
 
Measurement of Cost Behavior.ppt
Measurement of Cost Behavior.pptMeasurement of Cost Behavior.ppt
Measurement of Cost Behavior.ppt
 
01 introduction-to-digital-finance
01 introduction-to-digital-finance01 introduction-to-digital-finance
01 introduction-to-digital-finance
 
Financial Technology (Fintech)
Financial Technology (Fintech)Financial Technology (Fintech)
Financial Technology (Fintech)
 
Data mining presentation.ppt
Data mining presentation.pptData mining presentation.ppt
Data mining presentation.ppt
 
Design patterns comportementaux
Design patterns comportementauxDesign patterns comportementaux
Design patterns comportementaux
 
Pecking and tradeoff theory
Pecking and tradeoff theoryPecking and tradeoff theory
Pecking and tradeoff theory
 
Fintech 2021: Overview and Applications
Fintech 2021: Overview and Applications  Fintech 2021: Overview and Applications
Fintech 2021: Overview and Applications
 
Anti Money Laundering
Anti Money LaunderingAnti Money Laundering
Anti Money Laundering
 
Programmation Fonctionnelle
Programmation FonctionnelleProgrammation Fonctionnelle
Programmation Fonctionnelle
 
Mise en oeuvre des framework de machines et deep learning v1
Mise en oeuvre des framework de machines et deep learning v1 Mise en oeuvre des framework de machines et deep learning v1
Mise en oeuvre des framework de machines et deep learning v1
 

Similar a Machine Learning With ML.NET

Design Patterns for Machine Learning in Production - Sergei Izrailev, Chief D...
Design Patterns for Machine Learning in Production - Sergei Izrailev, Chief D...Design Patterns for Machine Learning in Production - Sergei Izrailev, Chief D...
Design Patterns for Machine Learning in Production - Sergei Izrailev, Chief D...Sri Ambati
 
Choosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needChoosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needGibDevs
 
Machine Learning 2 deep Learning: An Intro
Machine Learning 2 deep Learning: An IntroMachine Learning 2 deep Learning: An Intro
Machine Learning 2 deep Learning: An IntroSi Krishan
 
Recommender System Using AZURE ML
Recommender System Using AZURE MLRecommender System Using AZURE ML
Recommender System Using AZURE MLDev Raj Gautam
 
The Power of Auto ML and How Does it Work
The Power of Auto ML and How Does it WorkThe Power of Auto ML and How Does it Work
The Power of Auto ML and How Does it WorkIvo Andreev
 
Net campus2015 antimomusone
Net campus2015 antimomusoneNet campus2015 antimomusone
Net campus2015 antimomusoneDotNetCampus
 
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATAPREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATADotNetCampus
 
PL SQLDay Machine Learning- Hands on ML.NET.pptx
PL SQLDay Machine Learning- Hands on ML.NET.pptxPL SQLDay Machine Learning- Hands on ML.NET.pptx
PL SQLDay Machine Learning- Hands on ML.NET.pptxLuis Beltran
 
Machine Learning Classifiers
Machine Learning ClassifiersMachine Learning Classifiers
Machine Learning ClassifiersMostafa
 
Azure Machine Learning
Azure Machine LearningAzure Machine Learning
Azure Machine LearningMostafa
 
Machine learning at scale - Webinar By zekeLabs
Machine learning at scale - Webinar By zekeLabsMachine learning at scale - Webinar By zekeLabs
Machine learning at scale - Webinar By zekeLabszekeLabs Technologies
 
Driving Digital Transformation with Machine Learning in Oracle Analytics
Driving Digital Transformation with Machine Learning in Oracle AnalyticsDriving Digital Transformation with Machine Learning in Oracle Analytics
Driving Digital Transformation with Machine Learning in Oracle AnalyticsPerficient, Inc.
 
From c# Into Machine Learning
From c# Into Machine LearningFrom c# Into Machine Learning
From c# Into Machine LearningDev Raj Gautam
 
Design Like a Pro: Machine Learning Basics
Design Like a Pro: Machine Learning BasicsDesign Like a Pro: Machine Learning Basics
Design Like a Pro: Machine Learning BasicsInductive Automation
 
Building High Available and Scalable Machine Learning Applications
Building High Available and Scalable Machine Learning ApplicationsBuilding High Available and Scalable Machine Learning Applications
Building High Available and Scalable Machine Learning ApplicationsYalçın Yenigün
 
BMDSE v1 - Data Scientist Deck
BMDSE v1 - Data Scientist DeckBMDSE v1 - Data Scientist Deck
BMDSE v1 - Data Scientist DeckSasha Lazarevic
 
MLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in ProductionMLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in ProductionProvectus
 
Design Like a Pro: Machine Learning Basics
Design Like a Pro: Machine Learning BasicsDesign Like a Pro: Machine Learning Basics
Design Like a Pro: Machine Learning BasicsInductive Automation
 

Similar a Machine Learning With ML.NET (20)

MLIntro_ADA.pptx
MLIntro_ADA.pptxMLIntro_ADA.pptx
MLIntro_ADA.pptx
 
Design Patterns for Machine Learning in Production - Sergei Izrailev, Chief D...
Design Patterns for Machine Learning in Production - Sergei Izrailev, Chief D...Design Patterns for Machine Learning in Production - Sergei Izrailev, Chief D...
Design Patterns for Machine Learning in Production - Sergei Izrailev, Chief D...
 
Choosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needChoosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your need
 
Machine Learning 2 deep Learning: An Intro
Machine Learning 2 deep Learning: An IntroMachine Learning 2 deep Learning: An Intro
Machine Learning 2 deep Learning: An Intro
 
Machine learning
Machine learningMachine learning
Machine learning
 
Recommender System Using AZURE ML
Recommender System Using AZURE MLRecommender System Using AZURE ML
Recommender System Using AZURE ML
 
The Power of Auto ML and How Does it Work
The Power of Auto ML and How Does it WorkThe Power of Auto ML and How Does it Work
The Power of Auto ML and How Does it Work
 
Net campus2015 antimomusone
Net campus2015 antimomusoneNet campus2015 antimomusone
Net campus2015 antimomusone
 
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATAPREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
 
PL SQLDay Machine Learning- Hands on ML.NET.pptx
PL SQLDay Machine Learning- Hands on ML.NET.pptxPL SQLDay Machine Learning- Hands on ML.NET.pptx
PL SQLDay Machine Learning- Hands on ML.NET.pptx
 
Machine Learning Classifiers
Machine Learning ClassifiersMachine Learning Classifiers
Machine Learning Classifiers
 
Azure Machine Learning
Azure Machine LearningAzure Machine Learning
Azure Machine Learning
 
Machine learning at scale - Webinar By zekeLabs
Machine learning at scale - Webinar By zekeLabsMachine learning at scale - Webinar By zekeLabs
Machine learning at scale - Webinar By zekeLabs
 
Driving Digital Transformation with Machine Learning in Oracle Analytics
Driving Digital Transformation with Machine Learning in Oracle AnalyticsDriving Digital Transformation with Machine Learning in Oracle Analytics
Driving Digital Transformation with Machine Learning in Oracle Analytics
 
From c# Into Machine Learning
From c# Into Machine LearningFrom c# Into Machine Learning
From c# Into Machine Learning
 
Design Like a Pro: Machine Learning Basics
Design Like a Pro: Machine Learning BasicsDesign Like a Pro: Machine Learning Basics
Design Like a Pro: Machine Learning Basics
 
Building High Available and Scalable Machine Learning Applications
Building High Available and Scalable Machine Learning ApplicationsBuilding High Available and Scalable Machine Learning Applications
Building High Available and Scalable Machine Learning Applications
 
BMDSE v1 - Data Scientist Deck
BMDSE v1 - Data Scientist DeckBMDSE v1 - Data Scientist Deck
BMDSE v1 - Data Scientist Deck
 
MLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in ProductionMLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in Production
 
Design Like a Pro: Machine Learning Basics
Design Like a Pro: Machine Learning BasicsDesign Like a Pro: Machine Learning Basics
Design Like a Pro: Machine Learning Basics
 

Más de Dev Raj Gautam

RED’S, GREEN’S & BLUE’S OF PROJECT/PRODUCT MANAGEMENT
RED’S, GREEN’S & BLUE’S  OF  PROJECT/PRODUCT MANAGEMENTRED’S, GREEN’S & BLUE’S  OF  PROJECT/PRODUCT MANAGEMENT
RED’S, GREEN’S & BLUE’S OF PROJECT/PRODUCT MANAGEMENTDev Raj Gautam
 
Making machinelearningeasier
Making machinelearningeasierMaking machinelearningeasier
Making machinelearningeasierDev Raj Gautam
 
ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines  ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines Dev Raj Gautam
 
DotNet programming & Practices
DotNet programming & PracticesDotNet programming & Practices
DotNet programming & PracticesDev Raj Gautam
 

Más de Dev Raj Gautam (6)

RED’S, GREEN’S & BLUE’S OF PROJECT/PRODUCT MANAGEMENT
RED’S, GREEN’S & BLUE’S  OF  PROJECT/PRODUCT MANAGEMENTRED’S, GREEN’S & BLUE’S  OF  PROJECT/PRODUCT MANAGEMENT
RED’S, GREEN’S & BLUE’S OF PROJECT/PRODUCT MANAGEMENT
 
Making machinelearningeasier
Making machinelearningeasierMaking machinelearningeasier
Making machinelearningeasier
 
Intelligent bots
Intelligent botsIntelligent bots
Intelligent bots
 
ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines  ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines
 
DotNet programming & Practices
DotNet programming & PracticesDotNet programming & Practices
DotNet programming & Practices
 
SOA & WCF
SOA & WCFSOA & WCF
SOA & WCF
 

Último

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 

Último (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 

Machine Learning With ML.NET

  • 1. Machine Learning With ML.NET Getting Started With Machine Learning for .NET Stack Developers.
  • 2. I love writing reusable components, solving technical problems for team & Designing Architecture of solutions along with managing projects in scrum. Senior Project Manager Braindigit IT Solutions Application & Database Specialist Nutrition Innovation Lab (USAID Project) Senior Software Engineer Bitscrafters INC Software Engineer Softech Infosys Education MSC IT (Data Science) Masters in Business Administration Bachelors of Computer Application
  • 3. Applying Machine Learning? Needed for tasks that are too complex for humans to code directly.
  • 4.
  • 5. Have a Problem That Needs ML? • Classify Given Input into A or B or C • Classification & Multi-Class Classification • Which Marketing Campaign Brought More Customers : Win Gold or Win Lunch Coupon • Anomaly detection flags unexpected or unusual events or behaviors • Fraud Detection of Credit Card • Mail Spam Detection • Make Numerical Predictions • Predict Sales of Next Quarter • Predict Whiskey Sales Looking at Temperature
  • 6. Have a Problem That Needs ML? • Understand the Structure of Data • Clustering Algorithms • Which Age Group Like Same Type Series • Learn From Outcome & Decide on Other Actions • Self Driving Car: At a yellow light, brake or accelerate?
  • 7. Do you have the Data? • Relevancy of Your Data Against your Problem. • You Need to Find Life Expectancy%, You have series of data about their expenses in buying Vegetables. (Irrelevant) • You Need to Find Life Expectancy%, You have series of data about their expenses in buying Vegetables & also you know if they were likely TOXIC. (Relevant) • Do you Have Enough Data? • It Depends; No One Can Tell You • MORE DATA ALWAYS BETTER • You can determine Enough data using, Statistical Heuristic, Dataset Size vs Model Skill, Domain Expertise, Analogy & Domain Expertise
  • 8. Do you have the Data? • Accuracy of the Data • Highly Concentrated Wrong Data is Problem • Accuracy of Data is itself a first ask since Machine Learning are Predictions, and Predictions with wrong data would be Highly Incorrect. • Is your Data Connected? • Significant Amount Of Missing Data would hamper your ML • You Should have Connected Data.
  • 9. Introduction To ML.NET Microsoft recently open sourced its machine learning framework that is available on GitHub. ML.NET is an open source cross-platform for machine learning for .NET framework.
  • 10. Introduction To ML.NET • Originally developed in Microsoft, used in Windows, Bing, Azure, and more • The idea is to help .NET developers get in on cutting-edge ML programming without having to learn the underlying technical details associated with creating and tuning machine learning models. • Cross Platform- runs on any platform where 64 bit .NET Core or later is available • Open Source • Licensed Under MIT can be found in GitHub.
  • 11. ML.NET Capabilities ML Tasks • Classification (e.g. text categorization and sentiment analysis) • Regression (e.g. forecasting and price prediction) • Clustering Training Models • .NET APIs for training models, using models for predictions • Core components of this framework, such as learning algorithms, transforms, and core ML data structures Extensions or Integration • Integration with Python
  • 13. Future RoadMap • Additional ML Tasks and Scenarios • Deep Learning with TensorFlow (Already Integrated in ML.NET 0.5) & CNTK • ONNX support • Scale-out on Azure • Better GUI to simplify ML tasks • Integration with VS Tools for AI • Language Innovation for .NET • CNTK, Accord.NET, TensorFlow integration with one single API
  • 14. Let’s Apply Some Machine Learning • Ask Question That has an Answer (Exact Answer) • Apply the Right Method to Find the Answer
  • 15. Problem: Taxi Fare Prediction • Problem • Predicting the fare of a taxi trip in New York City • Statistical Inferencing • regression analysis is a set of statistical processes for estimating the relationships among variables. WIKI. • (y=ax+b), many techniques for modeling and analyzing several variables, when the focus is on the relationship between a dependent variable and one or more independent variables (or 'predictors').
  • 16. Solution: Taxi Fare Prediction Load & Transform Data •Pipeline-Workflow to Train Your Data •TextLoader- Load CSV Data •ColumnCopier- Predict Values are Copied to Specified Column •CategoricalOneHotVectorizer- transform the categorical data into numeric values •ColumnConcatenator-combines all of the feature columns into the Features Choosing Learning Algorithm & Training Model • Regression- FastTreeRegressor learner utilizes gradient boosting. Gradient boosting is a machine learning technique for regression problems. It builds each regression tree in a step-wise fashion. It uses a pre-defined loss function to measure the error in each step and correct for it in the next. Evaluate Model • Process of checking how well the values are predicted • RMS- measure of the differences between values predicted by a model and the values observed. The lower it is the Better. • Rsquared- The Closer it is to 1 it’s better. Provides a measure of how well observed outcomes are replicated by the model, based on the proportion of total variation of outcomes explained by the model
  • 17. Demo
  • 18. Problem: Sentiment Analysis • Problem • Predict the sentiment of a new website comment, either positive or negative • Statistical Inferencing • Classification • Binary or binomial classification is the task of classifying the elements of a given set into two groups (predicting which group each one belongs to) on the basis of a classification rule.
  • 19. Solution: Sentiment Analysis Load & Transform Data •Pipeline-Workflow to Train Your Data •TextLoader-convert the SentimentText column into a numeric vector Choosing Learning Algorithm & Training Model • Binary Classification- FastTreeBinaryClassifier, Gradient boosting is a machine learning technique for regression problems, In case of a binary classification problem, the output is converted to a probability by using some form of calibration. Evaluate Model • Process of checking how well the values are predicted • Computes the quality metrics for the PredictionModel using the specified data set.
  • 20. Demo
  • 22. Making Data Right • Get More Quality Data • Generate More Data • Data Cleaning • Reframing Problem • Transform Your Data :Gaussian • Select Your Features Right • Engineer Your Features
  • 23. Implying the Algorithm Right • Resampling: Use a method and configuration that makes the best use of available data. The k-fold cross-validation method with a hold out validation dataset might be a best practice. • Evaluation Metric. What metric is used to evaluate the skill of predictions? Use a metric that best captures the requirements of the problem and the domain • Baseline Performance. What is the baseline performance for comparing algorithms? Use a random algorithm or a zero rule algorithm (predict mean or mode) to establish a baseline by which to rank all evaluated algorithms. • Spot Check Linear Algorithms • Spot Check Nonlinear Algorithms. • Steal from Literature. What algorithms are reported in the literature • Standard Configurations • Try Alternatives
  • 24. This is how it would look like.