SlideShare ist ein Scribd-Unternehmen logo
1 von 22
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.

Weitere ähnliche Inhalte

Ähnlich wie AI Builder - Text Classification

Open microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutletOpen microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutletMitchinson
 
Normal Modal Analysis in Hypermesh
Normal Modal Analysis in HypermeshNormal Modal Analysis in Hypermesh
Normal Modal Analysis in HypermeshRahul 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 ToolSubrat Srivastava
 
Data mining introduction
Data mining introductionData mining introduction
Data mining introductionignacio_alberdi
 
AI Builder - Binary Classification
AI Builder - Binary ClassificationAI Builder - Binary Classification
AI Builder - Binary ClassificationCheah 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 universitylhkslkdh89009
 
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.docxkeilenettie
 
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 BostonSalesforce Admins
 
AI Builder - Object Detection
AI Builder - Object DetectionAI Builder - Object Detection
AI Builder - Object DetectionCheah Eng Soon
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation iAmit Sharma
 
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
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelP. 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.NetCheah Eng Soon
 
Web services in asp.net
Web services in asp.netWeb services in asp.net
Web services in asp.netDharma Raju
 
BestInFlowCompetitionTutorials03May2023
BestInFlowCompetitionTutorials03May2023BestInFlowCompetitionTutorials03May2023
BestInFlowCompetitionTutorials03May2023Timothy Spann
 

Ähnlich wie 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
 
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
 
BestInFlowCompetitionTutorials03May2023
BestInFlowCompetitionTutorials03May2023BestInFlowCompetitionTutorials03May2023
BestInFlowCompetitionTutorials03May2023
 

Mehr von Cheah Eng Soon

Microsoft Defender for Endpoint
Microsoft Defender for EndpointMicrosoft Defender for Endpoint
Microsoft Defender for EndpointCheah Eng Soon
 
Azure Active Directory - Secure and Govern
Azure Active Directory - Secure and GovernAzure Active Directory - Secure and Govern
Azure Active Directory - Secure and GovernCheah Eng Soon
 
MEM for OnPrem Environments
MEM for OnPrem EnvironmentsMEM for OnPrem Environments
MEM for OnPrem EnvironmentsCheah 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 TestingCheah Eng Soon
 
Azure Penetration Testing
Azure Penetration TestingAzure Penetration Testing
Azure Penetration TestingCheah Eng Soon
 
Penetration Testing Azure for Ethical Hackers
Penetration Testing Azure for Ethical HackersPenetration Testing Azure for Ethical Hackers
Penetration Testing Azure for Ethical HackersCheah 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 DemoCheah Eng Soon
 
Microsoft Secure Score Demo
Microsoft Secure Score DemoMicrosoft Secure Score Demo
Microsoft Secure Score DemoCheah Eng Soon
 
Microsoft Cloud App Security Demo
Microsoft Cloud App Security DemoMicrosoft Cloud App Security Demo
Microsoft Cloud App Security DemoCheah Eng Soon
 
M365 Attack Simulation Demo
M365 Attack Simulation DemoM365 Attack Simulation Demo
M365 Attack Simulation DemoCheah 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 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 ChatbotCheah 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 AzureCheah 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 ServicesCheah Eng Soon
 
Azure Sentinel with Office 365
Azure Sentinel with Office 365Azure Sentinel with Office 365
Azure Sentinel with Office 365Cheah Eng Soon
 

Mehr von 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
 

Kürzlich hochgeladen

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Kürzlich hochgeladen (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

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.