SlideShare a Scribd company logo
Binary classification
Binaryclassificationuseshistorical datatopredictwhethernew datafallsintoone of twocategories.
You can use these insightstodevelopactionable intelligence foryourbusiness.
In thislab,we will buildandtraina binaryclassificationmodel. We will alsoreview the level of influence
of the selectedcriteria. Finally,we will make amodel-drivenapplicationto review thisdataprediction.
The data usedhere will helpuspredictonlineshopperintentions. We have detailsof ashopper’ssite
visitaswell asif thatvisitresultedinasale (revenue). Once we have the predictioninformation,we can
use that to helpguide marketingplans,websiteupdates,promotional communications,andmore.
Note: If you are buildingthe firstmodel inanenvironment,clickonExplore Templatestogetstarted.
Exercise 1
In the firstexercise youwillbuildandtrainyourmodel.
1. From the leftnavigation,expandAIBuilderandselectBuild.
2. SelectBinaryClassification.
3. Name yourmodel. Because youare workingina sharedenvironmentmake sure toinclude your
name as part of the model name. Thiswill make iteasiertofindlater. Clickcreate.
4. Your screenshouldlooklike the followingimage.
5. Notice the progressindicatoronthe left.
6. You will see Quicktipsonthe right.
7. In the centerwe will buildourmodel. Clickinthe EntityfieldandselectOnline Shopper
Intention. Thisisacustomentitythat collectsthe datawe are storingregardingthe online
shopper’svisittooursite.
8. From the selectedentitywe willnow see availablebinaryfieldsforprediction. The onlyfields
we will see here are of type “Twooption.” SelectRevenue.ClickNext.
9. The nextscreenwill showusavailable fieldsonthe entity. Eachfieldselectedwill be evaluated
by the model forthe fieldsinfluence onthe endresult. Bydefault,all fieldswill be selected,do
not remove anyfields. ClickNext.
10. Notice our progress indicatorhasmovedtothe nextitem. ClickTrain.
11. Your Binary Classificationmodel will now train. Goto Models.
12. Locate andopenyour savedmodel. If youneedhelpfindingit,type yourname intothe search
box.
13. Aftereachtraining,AI Builderusesthe testdatasetto evaluate the qualityandaccuracyof the
newmodel.A summarypage foryour model showsyourmodel trainingresult,includinga
Performance score.The score we have is 65% and we shouldexpectittochange overtime. And
now we can viewsome detailsaboutourtrainedmodel. ClickonView Details.
14. Our detailsreportwill show the datainfluencersandhow muchinfluencethatdatahas on our
predictionmodel. Close the details.
15. Publishyourmodel. Once publishedthe datawill getscored,andscoringwill happendailyfora
publishedmodel.
About that score:
Performance score calculations
AI Buildercalculatesthe performance score foryourmodel basedonthe precisionandrecall of the
predictionresults:
Performance score: Thisis the harmonicmeanof precisionandrecall.Itbalancesbothfor an
imbalancedclassdistribution.Performance score valuesare between0 - 100. Generally,the higherthe
performance score,the betteryourmodel performs.
Precision:The fractionof correct predictionsamongall the positive predictions.
Recall: The fractionof correct predictionsamongall true positive cases.
Exercise 2
We will make asmall model drivenapplicationtoview the data. Thisapproachallowsusa quicklookat
the data. You couldalsomake a canvasapp that allowsuserstointeractwiththe data froma mobile
device.
For thepurposesof this lab,we havetaken someshortcutsin the interest of time.
In general,you should alwaysbeworking in a specific solution,you should rename
items with smartnamesforbetter teamdevelopmentand more. A full lesson on
customization and solution strategy isbeyond thescopeof theselabs. However,
Microsofthasmany learning choicesavailable. Please askyourinstructorif you’d
like moreinformation.
1. In yourPowerAppsmakerportal,fromthe leftside navigation,navigatetoAppsandselectCreate
an app and selectModel-driven.
2. If this isyourfirsttime connectingtoa canvas app inthisenvironment,youmightbe promptedto
choose yourregion. Selectthe default.
3. Give yourapp a name,remembertoinclude yourownname aspart of it. Leave all otheroptionsas
theyare andclick Done.
4. You shouldsee somethinglikethe image below.
5. We will nowaddouronline shopperintention entitytothe site map. Clickthe editicononthe Site
Map.
6. Withfocus seton the Areagive the area a name such as Online ShopperIntentions. Selectand
name the Group as well.
7. Withthe NewSubareaselected selectType of EntityandOnline ShopperIntentionasthe entity.
Leave otherfieldsasdefaults.
8. Save your Site Map and go backto the AppDesigner.
9. You shouldnowsee the assetsneededforthe OnlineShopperIntentionentityare includedinour
model-drivenapp.
10. Let’sadd a viewtoour app so we can bettersee the predictiondata. ClickonViewsandthenCreate
New.
11. If promptedwithunsavedchanges,youcandismiss byclickingOK (assumingyou’ve followedour
stepsso far!).
12. ClickColumnAttributesPrimaryEntity.
13. Drag and drop the followingfieldstothe view: revenue-predicted(modelname);revenue-
probability(modelname);andrevenue.
Note:You will see fields added forthemodelsof all of thestudentsworking in the same
environment,lookfortheoneswith yourmodelnamein thefield name.
14. Adjustcolumnwidthstomake themwiderandeasiertoview. With the columnselected,increase
the widthusingthe optionsonthe rightside of the view designer.
15. Save your view,remembertoinclude yourname aspart of the view name.
16. Returnto AppDesigner. Save yourappand publishit.
17. Playyour app.
18. You shouldnowbe inyour newmodel-drivenapp. Selectthe view youjustcreated.
19. Viewthe data. You can see the predictionscore,andthe predictionthatfollows. Withthis
informationyoucancreate automationsuchas a flow that wouldtrigger basedona customer’s
expectedrevenueandsenddiscountemailstocustomerslikelytocompleteapurchase. Creating
such automationisbeyondthe scope of thisworkshop.

More Related Content

DOCX
Prediction of quality for different type of winebased on different feature se...
PDF
Applying Machine Learning for Mobile Games by Neil Patrick Del Gallego
PPTX
Machine Learning for Product Managers
PDF
A/B Testing and Experiments w/Google Ads
DOCX
4.detection of fake news through implementation of data science application
PPTX
RapidMiner: Data Mining And Rapid Miner
PPTX
Multiclass classification of imbalanced data
PDF
Convolutional Neural Network for Text Classification
Prediction of quality for different type of winebased on different feature se...
Applying Machine Learning for Mobile Games by Neil Patrick Del Gallego
Machine Learning for Product Managers
A/B Testing and Experiments w/Google Ads
4.detection of fake news through implementation of data science application
RapidMiner: Data Mining And Rapid Miner
Multiclass classification of imbalanced data
Convolutional Neural Network for Text Classification

Similar to AI Builder - Binary Classification (20)

DOCX
AI Builder - Object Detection
PPTX
Nss power point_machine_learning
DOCX
AI Builder - Text Classification
PPTX
Machine Learning.pptx
PDF
Understanding Mahout classification documentation
PDF
Managing machine learning
PPTX
Eckovation Machine Learning
PDF
Machine learning e book all chapters.pdf
PDF
Andrew NG machine learning
PPSX
Internship PPT.ppsx
PDF
Neural network
PDF
TensorFlow vs PyTorch: Quick Framework Overview
PDF
IRJET- Machine Learning: Survey, Types and Challenges
PDF
The 7 Key Steps To Build Your Machine Learning Model
PDF
Course 2 Machine Learning Data LifeCycle in Production - Week 1
PDF
detailed Presentation on supervised learning
PPTX
introduction to machine learning
PPTX
End-to-End Machine Learning Project
PDF
UNDERSTANDING THE APPLICABILITY OF LINEAR & NON-LINEAR MODELS USING A CASE-BA...
PPTX
2024-02-24_Session 1 - PMLE_UPDATED.pptx
AI Builder - Object Detection
Nss power point_machine_learning
AI Builder - Text Classification
Machine Learning.pptx
Understanding Mahout classification documentation
Managing machine learning
Eckovation Machine Learning
Machine learning e book all chapters.pdf
Andrew NG machine learning
Internship PPT.ppsx
Neural network
TensorFlow vs PyTorch: Quick Framework Overview
IRJET- Machine Learning: Survey, Types and Challenges
The 7 Key Steps To Build Your Machine Learning Model
Course 2 Machine Learning Data LifeCycle in Production - Week 1
detailed Presentation on supervised learning
introduction to machine learning
End-to-End Machine Learning Project
UNDERSTANDING THE APPLICABILITY OF LINEAR & NON-LINEAR MODELS USING A CASE-BA...
2024-02-24_Session 1 - PMLE_UPDATED.pptx
Ad

More from Cheah Eng Soon (20)

PPTX
Microsoft Defender for Endpoint
PPTX
Azure Active Directory - Secure and Govern
PPTX
Microsoft Zero Trust
PPTX
MEM for OnPrem Environments
PPTX
Microsoft Threat Protection Automated Incident Response
PDF
Azure Penetration Testing
PDF
Azure Penetration Testing
PPTX
Microsoft Threat Protection Automated Incident Response Demo
PPTX
Microsoft Secure Score Demo
PPTX
Microsoft Cloud App Security Demo
PPTX
M365 Attack Simulation Demo
PPTX
Cloud Security Demo
PPTX
Azure Active Directory - External Identities Demo
PPTX
Azure WAF
PPTX
Azure Weekend 2020 Build Malaysia Bus Uncle Chatbot
PPTX
Microsoft Azure的20大常见安全漏洞与配置错误
PDF
20 common security vulnerabilities and misconfiguration in Azure
PPTX
Integrate Microsoft Graph with Azure Bot Services
PPTX
Azure Sentinel with Office 365
PPTX
3 Steps Integrate Microsoft Graph with Azure Bot Services
Microsoft Defender for Endpoint
Azure Active Directory - Secure and Govern
Microsoft Zero Trust
MEM for OnPrem Environments
Microsoft Threat Protection Automated Incident Response
Azure Penetration Testing
Azure Penetration Testing
Microsoft Threat Protection Automated Incident Response Demo
Microsoft Secure Score Demo
Microsoft Cloud App Security Demo
M365 Attack Simulation Demo
Cloud Security Demo
Azure Active Directory - External Identities Demo
Azure WAF
Azure Weekend 2020 Build Malaysia Bus Uncle Chatbot
Microsoft Azure的20大常见安全漏洞与配置错误
20 common security vulnerabilities and misconfiguration in Azure
Integrate Microsoft Graph with Azure Bot Services
Azure Sentinel with Office 365
3 Steps Integrate Microsoft Graph with Azure Bot Services
Ad

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation theory and applications.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Electronic commerce courselecture one. Pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Unlocking AI with Model Context Protocol (MCP)
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation theory and applications.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation_ Review paper, used for researhc scholars
MYSQL Presentation for SQL database connectivity
sap open course for s4hana steps from ECC to s4
Network Security Unit 5.pdf for BCA BBA.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Review of recent advances in non-invasive hemoglobin estimation
Electronic commerce courselecture one. Pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Building Integrated photovoltaic BIPV_UPV.pdf

AI Builder - Binary Classification

  • 1. Binary classification Binaryclassificationuseshistorical datatopredictwhethernew datafallsintoone of twocategories. You can use these insightstodevelopactionable intelligence foryourbusiness. In thislab,we will buildandtraina binaryclassificationmodel. We will alsoreview the level of influence of the selectedcriteria. Finally,we will make amodel-drivenapplicationto review thisdataprediction. The data usedhere will helpuspredictonlineshopperintentions. We have detailsof ashopper’ssite visitaswell asif thatvisitresultedinasale (revenue). Once we have the predictioninformation,we can use that to helpguide marketingplans,websiteupdates,promotional communications,andmore. Note: If you are buildingthe firstmodel inanenvironment,clickonExplore Templatestogetstarted. Exercise 1 In the firstexercise youwillbuildandtrainyourmodel. 1. From the leftnavigation,expandAIBuilderandselectBuild.
  • 2. 2. SelectBinaryClassification. 3. Name yourmodel. Because youare workingina sharedenvironmentmake sure toinclude your name as part of the model name. Thiswill make iteasiertofindlater. Clickcreate.
  • 3. 4. Your screenshouldlooklike the followingimage. 5. Notice the progressindicatoronthe left.
  • 4. 6. You will see Quicktipsonthe right. 7. In the centerwe will buildourmodel. Clickinthe EntityfieldandselectOnline Shopper Intention. Thisisacustomentitythat collectsthe datawe are storingregardingthe online shopper’svisittooursite.
  • 5. 8. From the selectedentitywe willnow see availablebinaryfieldsforprediction. The onlyfields we will see here are of type “Twooption.” SelectRevenue.ClickNext. 9. The nextscreenwill showusavailable fieldsonthe entity. Eachfieldselectedwill be evaluated by the model forthe fieldsinfluence onthe endresult. Bydefault,all fieldswill be selected,do not remove anyfields. ClickNext. 10. Notice our progress indicatorhasmovedtothe nextitem. ClickTrain.
  • 6. 11. Your Binary Classificationmodel will now train. Goto Models. 12. Locate andopenyour savedmodel. If youneedhelpfindingit,type yourname intothe search box. 13. Aftereachtraining,AI Builderusesthe testdatasetto evaluate the qualityandaccuracyof the newmodel.A summarypage foryour model showsyourmodel trainingresult,includinga Performance score.The score we have is 65% and we shouldexpectittochange overtime. And now we can viewsome detailsaboutourtrainedmodel. ClickonView Details.
  • 7. 14. Our detailsreportwill show the datainfluencersandhow muchinfluencethatdatahas on our predictionmodel. Close the details. 15. Publishyourmodel. Once publishedthe datawill getscored,andscoringwill happendailyfora publishedmodel.
  • 8. About that score: Performance score calculations AI Buildercalculatesthe performance score foryourmodel basedonthe precisionandrecall of the predictionresults: Performance score: Thisis the harmonicmeanof precisionandrecall.Itbalancesbothfor an imbalancedclassdistribution.Performance score valuesare between0 - 100. Generally,the higherthe performance score,the betteryourmodel performs. Precision:The fractionof correct predictionsamongall the positive predictions. Recall: The fractionof correct predictionsamongall true positive cases. Exercise 2 We will make asmall model drivenapplicationtoview the data. Thisapproachallowsusa quicklookat the data. You couldalsomake a canvasapp that allowsuserstointeractwiththe data froma mobile device. For thepurposesof this lab,we havetaken someshortcutsin the interest of time. In general,you should alwaysbeworking in a specific solution,you should rename items with smartnamesforbetter teamdevelopmentand more. A full lesson on customization and solution strategy isbeyond thescopeof theselabs. However, Microsofthasmany learning choicesavailable. Please askyourinstructorif you’d like moreinformation. 1. In yourPowerAppsmakerportal,fromthe leftside navigation,navigatetoAppsandselectCreate an app and selectModel-driven.
  • 9. 2. If this isyourfirsttime connectingtoa canvas app inthisenvironment,youmightbe promptedto choose yourregion. Selectthe default. 3. Give yourapp a name,remembertoinclude yourownname aspart of it. Leave all otheroptionsas theyare andclick Done. 4. You shouldsee somethinglikethe image below.
  • 10. 5. We will nowaddouronline shopperintention entitytothe site map. Clickthe editicononthe Site Map. 6. Withfocus seton the Areagive the area a name such as Online ShopperIntentions. Selectand name the Group as well.
  • 11. 7. Withthe NewSubareaselected selectType of EntityandOnline ShopperIntentionasthe entity. Leave otherfieldsasdefaults. 8. Save your Site Map and go backto the AppDesigner. 9. You shouldnowsee the assetsneededforthe OnlineShopperIntentionentityare includedinour model-drivenapp. 10. Let’sadd a viewtoour app so we can bettersee the predictiondata. ClickonViewsandthenCreate New.
  • 12. 11. If promptedwithunsavedchanges,youcandismiss byclickingOK (assumingyou’ve followedour stepsso far!). 12. ClickColumnAttributesPrimaryEntity. 13. Drag and drop the followingfieldstothe view: revenue-predicted(modelname);revenue- probability(modelname);andrevenue. Note:You will see fields added forthemodelsof all of thestudentsworking in the same environment,lookfortheoneswith yourmodelnamein thefield name.
  • 13. 14. Adjustcolumnwidthstomake themwiderandeasiertoview. With the columnselected,increase the widthusingthe optionsonthe rightside of the view designer. 15. Save your view,remembertoinclude yourname aspart of the view name.
  • 14. 16. Returnto AppDesigner. Save yourappand publishit. 17. Playyour app. 18. You shouldnowbe inyour newmodel-drivenapp. Selectthe view youjustcreated.
  • 15. 19. Viewthe data. You can see the predictionscore,andthe predictionthatfollows. Withthis informationyoucancreate automationsuchas a flow that wouldtrigger basedona customer’s expectedrevenueandsenddiscountemailstocustomerslikelytocompleteapurchase. Creating such automationisbeyondthe scope of thisworkshop.