SlideShare a Scribd company logo
Text classification
Textclassificationtagsanysnippetof textbasedonthe historical datayouprovide. Thisallowsyouto
streamline yourbusinessbyautomaticallytaggingnew text.
In thislab,we will buildandtraina textclassificationmodel. We will thenuse the Predictactionto
analyze textandthentake actionbasedon the results.
Note: If you are buildingthe firstmodel inanenvironment,clickonExplore Templatestogetstarted.
Exercise 1 – Build the text classification model
1. From the leftnavigation,expandAIBuilderandselectBuild. SelectTextClassification.
2. Name yourmodel. Because youare workingina sharedenvironmentmake sure toinclude your
name as part of the model name. Thiswill make iteasiertofindlater.ClickCreate.
3. Your screenshouldlooklike the followingimage. ClickSelecttext.
4. Choose healthcare_feedbackforthe entity.
5. SelectTextforthe field. ClickSelectfield. Thisidentifiesthe datathatwill be analyzed.
6. Reviewapreviewof the datathat will be classified. Clicknext.
7. Nowwe will selecttags. ClickSelectTags.
8. SelectTags.
9. SelectCommaas the separator. ClickNext.
10. Reviewthe textandtags. Clicknext.
11. SelectEnglish andclickNext.
12. Confirmthe configurationandselectTrain.
13. Locate and openyourmodel. If youneedhelpfindingit,type yourname intothe searchbox.
14. Reviewthe performanceof the model. SelectQuicktest.
15. Here we can testand validate ourmodel.Addthe followingtexttoclassify: The doctorsand
nursestookcare of me well duringmystay.
16. ClickTestand reviewthe classification. Close the testdialog.
17. Nowyou can testany text. Testthe following: The weatherinAtlantaisgreat!
Close the testdialog.
18. Publishyourmodel.
Exercise 2- Use the model from Microsoft Flow
Once the model hasbeentrainedyoucan use the model fromMicrosoftFlow. Thisallowsyouto
leverage textclassificationinthe automationyoubuild. Inthisexercise,we will focusonhow touse the
Predictactionto analyze textandthentake actionbasedon the results.
Task 1 -Create a flow
1. Navigate tohttps://flow.microsoft.com ;signinif necessary.
2. Confirmthe environmentinthe upperrightcorneristhe one you have beenassignedforthe
lab.
3. SelectMy Flowsinthe leftnavigation.
4. Clickon Import.
5. Uploadthe .zipfile namesProcessFeedback_Flow.zipthathasbeenprovided forthisworkshop.
6. Once the package detailsare displayed,clickonthe tool iconnexttothe CommonData Service
(currentEnvironment) Connection.
7. Clickon Create NewConnection.
8. Once you land on the connectionsscreen,clickonCreate New Connection.
9. SelectCommonDataService (currentenvironment).
10. Create the connection
11. Once the connectionhasbeensuccessfullycreated,return tothe ImportPackage screen.You
shouldnowsee yournewlycreatedconnectiononthe right.Clickrefreshif not.
12. Once done clickon Import.
13. Once completedthe import,Openthe Flow.
Task 2 – Invoke Predict and Parse the output
1. Expandthe Predictactionand on the Model dropdown locate andselectyourmodel youbuiltin
the previousexercise.
2. The RequestPayloadwaspre-configuredand shouldlooklike the following. Whatyouare
doinghere isprovidingthe inputtothe Predictactionandconnectingitto the textyouwill input
whenthe flowisrun.
3. Next,because the Predictactioncanworkwithdifferenttypesof models,the outputcan
containdifferentdata. So future stepscaneasilyuse the output.We are goingto use a Parse
JSON actionthat will parse the outputandmake it available tosubsequentstepswithknown
names.
4. Click+ NewStepand type Parse JSON inthe search field.
5. Selectthe Parse JSON action.
6. Clickinthe Contentfieldand selectResponse Payloadfromthe Dynamiccontentpanel.
7. Nextclickinthe Schemafieldandpaste inthe following. Thisisa schemathat tellsthe parse
actionwhat to expectinthe content. Youwill be able tofindthisinthe docs site inthe future.
{
"type":"object",
"properties":{
"predictionOutput":{
"type":"object",
"properties":{
"results":{
"type":"array",
"items":{
"type":"object",
"properties":{
"type":{
"type":"string"
},
"score": {
"type":"number"
}
},
"required":[
"type",
"score"
]
}
}
}
},
"operationStatus":{
"type":"string"
},
"error": {}
}
}
8. Let’scheck tomake sure thingsare good sofar. ClickTestin the upperrightcorner.
9. Choose I’ll performthe actionandclickSave & Test.
10. In the Feedbackfieldtype The facilitiesare wonderful.
11. ClickRunFlowand thenclickDone.
12. Your flowshouldhave runsuccessfullyandshouldlooklike the following. ClickEdittoresume
makingchanges.
Task 3 Process the output
In thistaskwe are goingto take the outputanduse itto email the differentdepartments. The Predict
mightclassifymultiple tagmatches,eachreturnedwithatype anda score. We onlywant to senda
copy of the feedbacktothe departmentswhenthe score isgreaterthan63. To accomplishthis,we will
add a conditionactionandcheckthe score and the type.For eachone that passesthe criteriaand we
will sendanemail.
1. Click+ NewStepand searchfor Condition.
2. Selectthe Filterarrayaction.
3. Clickinthe Choose a value fieldand selecttype fromthe Dynamiccontentpanel.
4. Because there couldbe multipletype andscore recordsreturned,flow will wrapyourcondition
inan Applyforeach actionand it shouldnow looklike the following
5. Clickon the Conditionactiontoexpandit.
6. Clickinthe secondChoose a value fieldtype Staff.
7. Click+ Add andthen+ AddRow to adda secondcheckinthe conditionfortype.
8. Clickinthe Choose a value field,andselectscore inthe Dynamiccontentpane.
9. Change the operatorto isgreaterthan and type 0.63 inthe secondvalue field.
Double check that the value is 0.63 and not.63 otherwisethe flowwill fail.
10. Inside the If Yespath of the condition,clickAddanaction
11. Searchon Sendan Email.
12. SelectSendan email (v2).
13. In the To fieldtype yourlabuser.
14. In the subjecttype Staff Feedback.
15. Clickinthe body andselectFeedbackinthe Dynamiccontentpanel.
16. ClickTestand thenchoose I’ll performthe actionandthenclickSave and Test.
17. In the feedbackpaste the following:
The doctors were veryprofessional,nurseswere kindandattentive,the roomwasnice butthe
foodat the cafeteriaandin roomis terrible
18. ClickRunFlow.
19. Your flowshouldrunsuccessfullyandshouldlooksomethinglikethe following. Youshouldalso
nowhave an email with the feedback.

More Related Content

Similar to AI Builder - Text Classification

OLT open script
OLT open script OLT open script
OLT open script
Sujay Raghuraj
 
Open microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutletOpen microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutlet
Mitchinson
 
Normal Modal Analysis in Hypermesh
Normal Modal Analysis in HypermeshNormal Modal Analysis in Hypermesh
Normal Modal Analysis in Hypermesh
Rahul Shedage
 
Guide for Quality Center (QC) Automation Tool
Guide for Quality Center (QC) Automation ToolGuide for Quality Center (QC) Automation Tool
Guide for Quality Center (QC) Automation Tool
Subrat Srivastava
 
Data mining introduction
Data mining introductionData mining introduction
Data mining introduction
ignacio_alberdi
 
AI Builder - Binary Classification
AI Builder - Binary ClassificationAI Builder - Binary Classification
AI Builder - Binary Classification
Cheah Eng Soon
 
Cis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry universityCis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry university
lhkslkdh89009
 
Previous weeks work has been uploaded as well as any other pieces ne.docx
Previous weeks work has been uploaded as well as any other pieces ne.docxPrevious weeks work has been uploaded as well as any other pieces ne.docx
Previous weeks work has been uploaded as well as any other pieces ne.docx
keilenettie
 
Lab report watson
Lab report watsonLab report watson
Lab report watson
Shaily Dubey
 
Admin Habits & Hacks Handout - Salesforce World Tour Boston
Admin Habits & Hacks Handout - Salesforce World Tour BostonAdmin Habits & Hacks Handout - Salesforce World Tour Boston
Admin Habits & Hacks Handout - Salesforce World Tour Boston
Salesforce Admins
 
Intellect_Integration_-_Web_Integration_Methods.pdf
Intellect_Integration_-_Web_Integration_Methods.pdfIntellect_Integration_-_Web_Integration_Methods.pdf
Intellect_Integration_-_Web_Integration_Methods.pdf
Modern Modular NY.
 
AI Builder - Object Detection
AI Builder - Object DetectionAI Builder - Object Detection
AI Builder - Object Detection
Cheah Eng Soon
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
Amit Sharma
 
Qlikview Quick Start
Qlikview Quick StartQlikview Quick Start
Qlikview Quick Start
Qasir Riaz SharePoint Consultant
 
Unit testing (workshop)
Unit testing (workshop)Unit testing (workshop)
Unit testing (workshop)
Foyzul Karim
 
d5)Go to the following website by clicking on the provided link,
d5)Go to the following website by clicking on the provided link,d5)Go to the following website by clicking on the provided link,
d5)Go to the following website by clicking on the provided link,
OllieShoresna
 
Mca 504 dotnet_unit5
Mca 504 dotnet_unit5Mca 504 dotnet_unit5
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-Excel
P. SUNDARI ARUN
 
Build a Sentiment Model using ML.Net
Build a Sentiment Model using ML.NetBuild a Sentiment Model using ML.Net
Build a Sentiment Model using ML.Net
Cheah Eng Soon
 
Web services in asp.net
Web services in asp.netWeb services in asp.net
Web services in asp.net
Dharma Raju
 

Similar to AI Builder - Text Classification (20)

OLT open script
OLT open script OLT open script
OLT open script
 
Open microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutletOpen microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutlet
 
Normal Modal Analysis in Hypermesh
Normal Modal Analysis in HypermeshNormal Modal Analysis in Hypermesh
Normal Modal Analysis in Hypermesh
 
Guide for Quality Center (QC) Automation Tool
Guide for Quality Center (QC) Automation ToolGuide for Quality Center (QC) Automation Tool
Guide for Quality Center (QC) Automation Tool
 
Data mining introduction
Data mining introductionData mining introduction
Data mining introduction
 
AI Builder - Binary Classification
AI Builder - Binary ClassificationAI Builder - Binary Classification
AI Builder - Binary Classification
 
Cis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry universityCis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry university
 
Previous weeks work has been uploaded as well as any other pieces ne.docx
Previous weeks work has been uploaded as well as any other pieces ne.docxPrevious weeks work has been uploaded as well as any other pieces ne.docx
Previous weeks work has been uploaded as well as any other pieces ne.docx
 
Lab report watson
Lab report watsonLab report watson
Lab report watson
 
Admin Habits & Hacks Handout - Salesforce World Tour Boston
Admin Habits & Hacks Handout - Salesforce World Tour BostonAdmin Habits & Hacks Handout - Salesforce World Tour Boston
Admin Habits & Hacks Handout - Salesforce World Tour Boston
 
Intellect_Integration_-_Web_Integration_Methods.pdf
Intellect_Integration_-_Web_Integration_Methods.pdfIntellect_Integration_-_Web_Integration_Methods.pdf
Intellect_Integration_-_Web_Integration_Methods.pdf
 
AI Builder - Object Detection
AI Builder - Object DetectionAI Builder - Object Detection
AI Builder - Object Detection
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
 
Qlikview Quick Start
Qlikview Quick StartQlikview Quick Start
Qlikview Quick Start
 
Unit testing (workshop)
Unit testing (workshop)Unit testing (workshop)
Unit testing (workshop)
 
d5)Go to the following website by clicking on the provided link,
d5)Go to the following website by clicking on the provided link,d5)Go to the following website by clicking on the provided link,
d5)Go to the following website by clicking on the provided link,
 
Mca 504 dotnet_unit5
Mca 504 dotnet_unit5Mca 504 dotnet_unit5
Mca 504 dotnet_unit5
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-Excel
 
Build a Sentiment Model using ML.Net
Build a Sentiment Model using ML.NetBuild a Sentiment Model using ML.Net
Build a Sentiment Model using ML.Net
 
Web services in asp.net
Web services in asp.netWeb services in asp.net
Web services in asp.net
 

More from Cheah Eng Soon

Microsoft Defender for Endpoint
Microsoft Defender for EndpointMicrosoft Defender for Endpoint
Microsoft Defender for Endpoint
Cheah Eng Soon
 
Azure Active Directory - Secure and Govern
Azure Active Directory - Secure and GovernAzure Active Directory - Secure and Govern
Azure Active Directory - Secure and Govern
Cheah Eng Soon
 
Microsoft Zero Trust
Microsoft Zero TrustMicrosoft Zero Trust
Microsoft Zero Trust
Cheah Eng Soon
 
MEM for OnPrem Environments
MEM for OnPrem EnvironmentsMEM for OnPrem Environments
MEM for OnPrem Environments
Cheah Eng Soon
 
Microsoft Threat Protection Automated Incident Response
Microsoft Threat Protection Automated Incident Response Microsoft Threat Protection Automated Incident Response
Microsoft Threat Protection Automated Incident Response
Cheah Eng Soon
 
Azure Penetration Testing
Azure Penetration TestingAzure Penetration Testing
Azure Penetration Testing
Cheah Eng Soon
 
Azure Penetration Testing
Azure Penetration TestingAzure Penetration Testing
Azure Penetration Testing
Cheah Eng Soon
 
Penetration Testing Azure for Ethical Hackers
Penetration Testing Azure for Ethical HackersPenetration Testing Azure for Ethical Hackers
Penetration Testing Azure for Ethical Hackers
Cheah Eng Soon
 
Microsoft Threat Protection Automated Incident Response Demo
Microsoft Threat Protection Automated Incident Response DemoMicrosoft Threat Protection Automated Incident Response Demo
Microsoft Threat Protection Automated Incident Response Demo
Cheah Eng Soon
 
Microsoft Secure Score Demo
Microsoft Secure Score DemoMicrosoft Secure Score Demo
Microsoft Secure Score Demo
Cheah Eng Soon
 
Microsoft Cloud App Security Demo
Microsoft Cloud App Security DemoMicrosoft Cloud App Security Demo
Microsoft Cloud App Security Demo
Cheah Eng Soon
 
M365 Attack Simulation Demo
M365 Attack Simulation DemoM365 Attack Simulation Demo
M365 Attack Simulation Demo
Cheah Eng Soon
 
Cloud Security Demo
Cloud Security DemoCloud Security Demo
Cloud Security Demo
Cheah Eng Soon
 
Azure Active Directory - External Identities Demo
Azure Active Directory - External Identities Demo Azure Active Directory - External Identities Demo
Azure Active Directory - External Identities Demo
Cheah Eng Soon
 
Azure WAF
Azure WAFAzure WAF
Azure WAF
Cheah Eng Soon
 
Azure Weekend 2020 Build Malaysia Bus Uncle Chatbot
Azure Weekend 2020 Build Malaysia Bus Uncle ChatbotAzure Weekend 2020 Build Malaysia Bus Uncle Chatbot
Azure Weekend 2020 Build Malaysia Bus Uncle Chatbot
Cheah Eng Soon
 
Microsoft Azure的20大常见安全漏洞与配置错误
Microsoft Azure的20大常见安全漏洞与配置错误Microsoft Azure的20大常见安全漏洞与配置错误
Microsoft Azure的20大常见安全漏洞与配置错误
Cheah Eng Soon
 
20 common security vulnerabilities and misconfiguration in Azure
20 common security vulnerabilities and misconfiguration in Azure20 common security vulnerabilities and misconfiguration in Azure
20 common security vulnerabilities and misconfiguration in Azure
Cheah Eng Soon
 
Integrate Microsoft Graph with Azure Bot Services
Integrate Microsoft Graph with Azure Bot ServicesIntegrate Microsoft Graph with Azure Bot Services
Integrate Microsoft Graph with Azure Bot Services
Cheah Eng Soon
 
Azure Sentinel with Office 365
Azure Sentinel with Office 365Azure Sentinel with Office 365
Azure Sentinel with Office 365
Cheah Eng Soon
 

More from Cheah Eng Soon (20)

Microsoft Defender for Endpoint
Microsoft Defender for EndpointMicrosoft Defender for Endpoint
Microsoft Defender for Endpoint
 
Azure Active Directory - Secure and Govern
Azure Active Directory - Secure and GovernAzure Active Directory - Secure and Govern
Azure Active Directory - Secure and Govern
 
Microsoft Zero Trust
Microsoft Zero TrustMicrosoft Zero Trust
Microsoft Zero Trust
 
MEM for OnPrem Environments
MEM for OnPrem EnvironmentsMEM for OnPrem Environments
MEM for OnPrem Environments
 
Microsoft Threat Protection Automated Incident Response
Microsoft Threat Protection Automated Incident Response Microsoft Threat Protection Automated Incident Response
Microsoft Threat Protection Automated Incident Response
 
Azure Penetration Testing
Azure Penetration TestingAzure Penetration Testing
Azure Penetration Testing
 
Azure Penetration Testing
Azure Penetration TestingAzure Penetration Testing
Azure Penetration Testing
 
Penetration Testing Azure for Ethical Hackers
Penetration Testing Azure for Ethical HackersPenetration Testing Azure for Ethical Hackers
Penetration Testing Azure for Ethical Hackers
 
Microsoft Threat Protection Automated Incident Response Demo
Microsoft Threat Protection Automated Incident Response DemoMicrosoft Threat Protection Automated Incident Response Demo
Microsoft Threat Protection Automated Incident Response Demo
 
Microsoft Secure Score Demo
Microsoft Secure Score DemoMicrosoft Secure Score Demo
Microsoft Secure Score Demo
 
Microsoft Cloud App Security Demo
Microsoft Cloud App Security DemoMicrosoft Cloud App Security Demo
Microsoft Cloud App Security Demo
 
M365 Attack Simulation Demo
M365 Attack Simulation DemoM365 Attack Simulation Demo
M365 Attack Simulation Demo
 
Cloud Security Demo
Cloud Security DemoCloud Security Demo
Cloud Security Demo
 
Azure Active Directory - External Identities Demo
Azure Active Directory - External Identities Demo Azure Active Directory - External Identities Demo
Azure Active Directory - External Identities Demo
 
Azure WAF
Azure WAFAzure WAF
Azure WAF
 
Azure Weekend 2020 Build Malaysia Bus Uncle Chatbot
Azure Weekend 2020 Build Malaysia Bus Uncle ChatbotAzure Weekend 2020 Build Malaysia Bus Uncle Chatbot
Azure Weekend 2020 Build Malaysia Bus Uncle Chatbot
 
Microsoft Azure的20大常见安全漏洞与配置错误
Microsoft Azure的20大常见安全漏洞与配置错误Microsoft Azure的20大常见安全漏洞与配置错误
Microsoft Azure的20大常见安全漏洞与配置错误
 
20 common security vulnerabilities and misconfiguration in Azure
20 common security vulnerabilities and misconfiguration in Azure20 common security vulnerabilities and misconfiguration in Azure
20 common security vulnerabilities and misconfiguration in Azure
 
Integrate Microsoft Graph with Azure Bot Services
Integrate Microsoft Graph with Azure Bot ServicesIntegrate Microsoft Graph with Azure Bot Services
Integrate Microsoft Graph with Azure Bot Services
 
Azure Sentinel with Office 365
Azure Sentinel with Office 365Azure Sentinel with Office 365
Azure Sentinel with Office 365
 

Recently uploaded

Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
LizaNolte
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
Vadym Kazulkin
 

Recently uploaded (20)

Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
 

AI Builder - Text Classification

  • 1. Text classification Textclassificationtagsanysnippetof textbasedonthe historical datayouprovide. Thisallowsyouto streamline yourbusinessbyautomaticallytaggingnew text. In thislab,we will buildandtraina textclassificationmodel. We will thenuse the Predictactionto analyze textandthentake actionbasedon the results. Note: If you are buildingthe firstmodel inanenvironment,clickonExplore Templatestogetstarted. Exercise 1 – Build the text classification model 1. From the leftnavigation,expandAIBuilderandselectBuild. SelectTextClassification. 2. Name yourmodel. Because youare workingina sharedenvironmentmake sure toinclude your name as part of the model name. Thiswill make iteasiertofindlater.ClickCreate.
  • 2. 3. Your screenshouldlooklike the followingimage. ClickSelecttext. 4. Choose healthcare_feedbackforthe entity.
  • 3. 5. SelectTextforthe field. ClickSelectfield. Thisidentifiesthe datathatwill be analyzed. 6. Reviewapreviewof the datathat will be classified. Clicknext. 7. Nowwe will selecttags. ClickSelectTags.
  • 4. 8. SelectTags. 9. SelectCommaas the separator. ClickNext. 10. Reviewthe textandtags. Clicknext.
  • 5. 11. SelectEnglish andclickNext. 12. Confirmthe configurationandselectTrain. 13. Locate and openyourmodel. If youneedhelpfindingit,type yourname intothe searchbox.
  • 6. 14. Reviewthe performanceof the model. SelectQuicktest. 15. Here we can testand validate ourmodel.Addthe followingtexttoclassify: The doctorsand nursestookcare of me well duringmystay.
  • 7. 16. ClickTestand reviewthe classification. Close the testdialog. 17. Nowyou can testany text. Testthe following: The weatherinAtlantaisgreat! Close the testdialog. 18. Publishyourmodel.
  • 8. Exercise 2- Use the model from Microsoft Flow Once the model hasbeentrainedyoucan use the model fromMicrosoftFlow. Thisallowsyouto leverage textclassificationinthe automationyoubuild. Inthisexercise,we will focusonhow touse the Predictactionto analyze textandthentake actionbasedon the results. Task 1 -Create a flow 1. Navigate tohttps://flow.microsoft.com ;signinif necessary. 2. Confirmthe environmentinthe upperrightcorneristhe one you have beenassignedforthe lab. 3. SelectMy Flowsinthe leftnavigation. 4. Clickon Import.
  • 9. 5. Uploadthe .zipfile namesProcessFeedback_Flow.zipthathasbeenprovided forthisworkshop. 6. Once the package detailsare displayed,clickonthe tool iconnexttothe CommonData Service (currentEnvironment) Connection.
  • 10. 7. Clickon Create NewConnection. 8. Once you land on the connectionsscreen,clickonCreate New Connection.
  • 12. 10. Create the connection
  • 13. 11. Once the connectionhasbeensuccessfullycreated,return tothe ImportPackage screen.You shouldnowsee yournewlycreatedconnectiononthe right.Clickrefreshif not. 12. Once done clickon Import.
  • 14. 13. Once completedthe import,Openthe Flow. Task 2 – Invoke Predict and Parse the output 1. Expandthe Predictactionand on the Model dropdown locate andselectyourmodel youbuiltin the previousexercise.
  • 15. 2. The RequestPayloadwaspre-configuredand shouldlooklike the following. Whatyouare doinghere isprovidingthe inputtothe Predictactionandconnectingitto the textyouwill input whenthe flowisrun. 3. Next,because the Predictactioncanworkwithdifferenttypesof models,the outputcan containdifferentdata. So future stepscaneasilyuse the output.We are goingto use a Parse JSON actionthat will parse the outputandmake it available tosubsequentstepswithknown names. 4. Click+ NewStepand type Parse JSON inthe search field. 5. Selectthe Parse JSON action.
  • 16. 6. Clickinthe Contentfieldand selectResponse Payloadfromthe Dynamiccontentpanel. 7. Nextclickinthe Schemafieldandpaste inthe following. Thisisa schemathat tellsthe parse actionwhat to expectinthe content. Youwill be able tofindthisinthe docs site inthe future. { "type":"object", "properties":{ "predictionOutput":{ "type":"object", "properties":{ "results":{ "type":"array", "items":{ "type":"object",
  • 17. "properties":{ "type":{ "type":"string" }, "score": { "type":"number" } }, "required":[ "type", "score" ] } } } }, "operationStatus":{ "type":"string" }, "error": {} } } 8. Let’scheck tomake sure thingsare good sofar. ClickTestin the upperrightcorner. 9. Choose I’ll performthe actionandclickSave & Test. 10. In the Feedbackfieldtype The facilitiesare wonderful. 11. ClickRunFlowand thenclickDone. 12. Your flowshouldhave runsuccessfullyandshouldlooklike the following. ClickEdittoresume makingchanges.
  • 18. Task 3 Process the output In thistaskwe are goingto take the outputanduse itto email the differentdepartments. The Predict mightclassifymultiple tagmatches,eachreturnedwithatype anda score. We onlywant to senda copy of the feedbacktothe departmentswhenthe score isgreaterthan63. To accomplishthis,we will add a conditionactionandcheckthe score and the type.For eachone that passesthe criteriaand we will sendanemail. 1. Click+ NewStepand searchfor Condition. 2. Selectthe Filterarrayaction. 3. Clickinthe Choose a value fieldand selecttype fromthe Dynamiccontentpanel.
  • 19. 4. Because there couldbe multipletype andscore recordsreturned,flow will wrapyourcondition inan Applyforeach actionand it shouldnow looklike the following 5. Clickon the Conditionactiontoexpandit. 6. Clickinthe secondChoose a value fieldtype Staff.
  • 20. 7. Click+ Add andthen+ AddRow to adda secondcheckinthe conditionfortype. 8. Clickinthe Choose a value field,andselectscore inthe Dynamiccontentpane. 9. Change the operatorto isgreaterthan and type 0.63 inthe secondvalue field.
  • 21. Double check that the value is 0.63 and not.63 otherwisethe flowwill fail. 10. Inside the If Yespath of the condition,clickAddanaction 11. Searchon Sendan Email. 12. SelectSendan email (v2). 13. In the To fieldtype yourlabuser. 14. In the subjecttype Staff Feedback. 15. Clickinthe body andselectFeedbackinthe Dynamiccontentpanel.
  • 22. 16. ClickTestand thenchoose I’ll performthe actionandthenclickSave and Test. 17. In the feedbackpaste the following: The doctors were veryprofessional,nurseswere kindandattentive,the roomwasnice butthe foodat the cafeteriaandin roomis terrible 18. ClickRunFlow. 19. Your flowshouldrunsuccessfullyandshouldlooksomethinglikethe following. Youshouldalso nowhave an email with the feedback.