SlideShare a Scribd company logo
1 of 22
Download to read offline
WITH MULE AND TENSORFLOW
INTELLIGENT APPLICATION NETWORKS
MACHINE LEARNING BASED AI WILL TRANSFORM 80% OF BUSINESSES IN FIVE YEARS
https://news.greylock.com/the-new-moats-53f61aeac2d9 https://sloanreview.mit.edu/projects/reshaping-business-with-artificial-intelligence/
MACHINE LEARNING BASED AI WILL TRANSFORM 80% OF BUSINESSES IN FIVE YEARS
https://news.greylock.com/the-new-moats-53f61aeac2d9 https://sloanreview.mit.edu/projects/reshaping-business-with-artificial-intelligence/
A MAJOR CHALLENGE IS MANAGING CONNECTIVITY AND CONSTANT CHANGE
Accelerating hyperspecialization of
data, applications, and devices
AVERAGE ENTERPRISE HAS 91 CLOUD SERVICES JUST IN MARKETING GREW FROM 150 TO 6800 SINCE 2011
HYPER SPECIALIZATION IN MARKETING
https://chiefmartec.com/2018/04/marketing-technology-landscape-supergraphic-2018/
THIS TREND IS ACCELERATING IN EVERY INDUSTRY AS THE PACE OF CHANGE INCREASES
COMPANIES DOING “INITIAL COIN OFFERINGS ”
https://www.cbinsights.com/reports/CB-Insights_Blockchain-In-Review.pdf
TO BUILD A SYSTEM OF INTELLIGENCE, START WITH AN “MINIMUM VIABLE MODEL” AND ITERATE
DATA TEAMS MUST ITERATE QUICKLY
Identify, Refine Problem
Deploy System
Collect Feedback
Improve Model
Train Model
Prepare training data
Collect Data
Explore Data
Evaluate Model
MOST TIME-CONSUMING, LEAST ENJOYABLE DATA SCIENCE TASK
COLLECTING AND CLEANING DATA IS 80%
60%
4%
9%
19%
3%
5%
https://www.forbes.com/sites/gilpress/2016/03/23/data-preparation-most-time-consuming-least-enjoyable-data-science-task-survey-says
Creating Training Set
Cleansing and organizing
Collecting Data
Mining for patterns
Other
Refining Algorithms
WITH HYPERSPECIALIZATION CURRENT PROBLEMS WILL BECOME WORSE
▸ Custom code to get models into
production grade applications
▸ Lack tight integration with user
▸ Long ETL cycles, different update cycles
▸ Poor discoverability
▸ Lack of labeled data
▸ Data lakes become dumping grounds
▸ Governance
▸ Poor metadata
FAILURE TO ITERATE RAPIDLY
CONNECTIVITY AND ORCHESTRATION MEETS MACHINE LEARNING TO ENABLE RAPID ITERATION
SYSTEMS OF INTELLIGENCE
CONNECTING APPLICATIONS, DATA, AND DEVICES INTO COMPOSITE APPLICATIONS
APPLICATION NETWORKS
▸ APIs and metadata
▸ Data types
▸ Capabilities
▸ Orchestration
▸ Composite applications
AWS
https://www.mulesoft.com/resources/api/what-is-an-application-network
RAPIDLY ITERATE PRODUCTION MODELS AS SERVICES
Define Model
Train Params
Wrangle
Pipeline Orchestration Composite Application
Update API
Build App
Publish API
Engage
Deploy as Microservice
Evaluate and Deploy
Connect
Collect Feedback
Mule Connectors
Connect Real-Time
A CHURN PREDICTION: DESIGN AND IMPLEMENT AN API
API Spec and Type Definitions (RAML)
Querying the production server in Postman
ONCE YOU DEPLOY AND PUBLISH, YOU’VE ADDED A NOTE TO THE APPLICATION NETWORK
Publish the API for other applications to use in
MuleSoft’s Anypoint Platform
Deploy as a micro service to MuleSoft’s PaaS (based on Kubernetes)
LOAD KERAS MODEL AND WEIGHTS INTO SPARK AND CALL FROM MULE
ORCHESTRATING THE ML PIPELINE WITH MULE FLOWS
Evaluate
R Packages
• Yardstick
Mule
• Scatter-Gather
• Choice
Train
R Packages
• Keras
• Rsampler
Tensorflow
• 35 inputs
• 2 hidden layers
• Binary output
Fetch
Mule
Connectors
Preprocess
Mule
• Scheduler
• DataWeave
R Packages
• Recipe
• Dplyr
• Farcats
Publish
Persist
• Recipe
• Model
• Weights
Mule
Connector
BUILDING THE ML PIPELINE IN MULESOFT’S ANYPOINT STUDIO
R is invoked here
PROCESSING THE DATA USING RECIPES
Adapted from: https://tensorflow.rstudio.com/blog/keras-customer-churn.html
Data Set
Watson dataset on Telco Churn
•20 predictors of churn
•Demographics from Salesforce
•Products from billing database
•Transactions from S3 flat files
Preparing the training and test with R Recipes
TRAIN THE MODEL WITH KERAS WITH TENSORFLOW BACKEND
Diagram here
Defining the model in R Keras
HIDDEN LAYER 1

(20, 16), RELU
HIDDEN LAYER 2

(16, 16), RELU
HIDDEN LAYER 2

(16, 1), SIGMOID
Training the model in R Keras
EVALUATE WITH YARDSTICK, “PUBLISH” UPDATE MODEL IF IT IMPROVES
ADDING SYSTEMS OF INTELLIGENCE TO THE APPLICATION NETWORK
INTELLIGENT APPLICATION NETWORKS
▸ Specifications
▸ Capabilities
▸ Ontologies
▸ Orchestration
▸ Composite applications
▸ Knowledge Graph
▸ Systems of Intelligence
▸ Computational Graphs
AWS
TF
TF
TF
TF
LINK TO PRESENTATION, VIDEO OF DEMO, AND CODE FOR EXAMPLE
Soren Harner is a principal data scientist with Permaling.
Permaling provides strategy consulting, implementation, and
training for AI in the enterprise.
https://permaling.com
soeren [at] permaling [dot] com
https://github.com/sharner/sdss-mule
Permaling

More Related Content

Similar to Intelligent Application Networks with Mule and Tensorflow

Infrastructure Performance Management: Flexibility Combining Breadth, Depth ...
Infrastructure Performance Management: Flexibility Combining Breadth, Depth ...Infrastructure Performance Management: Flexibility Combining Breadth, Depth ...
Infrastructure Performance Management: Flexibility Combining Breadth, Depth ...CA Technologies
 
Migrating SAP workloads on AWS_ A blessing for CTOs and CIOs.pdf
Migrating SAP workloads on AWS_ A blessing for CTOs and CIOs.pdfMigrating SAP workloads on AWS_ A blessing for CTOs and CIOs.pdf
Migrating SAP workloads on AWS_ A blessing for CTOs and CIOs.pdfAnil
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationPace Integration
 
Créer la valeur dans l'économie digitale - Industrie du futur
Créer la valeur dans l'économie digitale - Industrie du futurCréer la valeur dans l'économie digitale - Industrie du futur
Créer la valeur dans l'économie digitale - Industrie du futurPhilippe Geoffroy
 
Carrenza highly automated clouds
Carrenza highly automated cloudsCarrenza highly automated clouds
Carrenza highly automated cloudsCarrenza
 
Microservices e o desenvolvimento cloud-native 10 anos depois
Microservices e o desenvolvimento cloud-native 10 anos depoisMicroservices e o desenvolvimento cloud-native 10 anos depois
Microservices e o desenvolvimento cloud-native 10 anos depoisRamon Durães
 
Carrenza advantages-high-performance-cloud-storage
Carrenza advantages-high-performance-cloud-storageCarrenza advantages-high-performance-cloud-storage
Carrenza advantages-high-performance-cloud-storageCarrenza
 
[DSC Europe 22] Reproducibility and Versioning of ML Systems - Spela Poklukar
[DSC Europe 22] Reproducibility and Versioning of ML Systems - Spela Poklukar[DSC Europe 22] Reproducibility and Versioning of ML Systems - Spela Poklukar
[DSC Europe 22] Reproducibility and Versioning of ML Systems - Spela PoklukarDataScienceConferenc1
 
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...Lucas Jellema
 
The Trouble with Saas and Hybrid Cloud
The Trouble with Saas and Hybrid CloudThe Trouble with Saas and Hybrid Cloud
The Trouble with Saas and Hybrid CloudNovosco
 
AMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the CloudAMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the CloudMatt Wright
 
Fronted development trends - past, present and the future
Fronted development trends - past, present and the futureFronted development trends - past, present and the future
Fronted development trends - past, present and the futureHarijs Deksnis
 
Manchester MuleSoft Meetup #7
Manchester MuleSoft Meetup #7 Manchester MuleSoft Meetup #7
Manchester MuleSoft Meetup #7 Akshata Sawant
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureRiverbed Technology
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureIan Downard
 

Similar to Intelligent Application Networks with Mule and Tensorflow (20)

Infrastructure Performance Management: Flexibility Combining Breadth, Depth ...
Infrastructure Performance Management: Flexibility Combining Breadth, Depth ...Infrastructure Performance Management: Flexibility Combining Breadth, Depth ...
Infrastructure Performance Management: Flexibility Combining Breadth, Depth ...
 
Migrating SAP workloads on AWS_ A blessing for CTOs and CIOs.pdf
Migrating SAP workloads on AWS_ A blessing for CTOs and CIOs.pdfMigrating SAP workloads on AWS_ A blessing for CTOs and CIOs.pdf
Migrating SAP workloads on AWS_ A blessing for CTOs and CIOs.pdf
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP Integration
 
Créer la valeur dans l'économie digitale - Industrie du futur
Créer la valeur dans l'économie digitale - Industrie du futurCréer la valeur dans l'économie digitale - Industrie du futur
Créer la valeur dans l'économie digitale - Industrie du futur
 
SAP on Azure - Deck
SAP on Azure - DeckSAP on Azure - Deck
SAP on Azure - Deck
 
Carrenza highly automated clouds
Carrenza highly automated cloudsCarrenza highly automated clouds
Carrenza highly automated clouds
 
Microservices e o desenvolvimento cloud-native 10 anos depois
Microservices e o desenvolvimento cloud-native 10 anos depoisMicroservices e o desenvolvimento cloud-native 10 anos depois
Microservices e o desenvolvimento cloud-native 10 anos depois
 
Carrenza advantages-high-performance-cloud-storage
Carrenza advantages-high-performance-cloud-storageCarrenza advantages-high-performance-cloud-storage
Carrenza advantages-high-performance-cloud-storage
 
[DSC Europe 22] Reproducibility and Versioning of ML Systems - Spela Poklukar
[DSC Europe 22] Reproducibility and Versioning of ML Systems - Spela Poklukar[DSC Europe 22] Reproducibility and Versioning of ML Systems - Spela Poklukar
[DSC Europe 22] Reproducibility and Versioning of ML Systems - Spela Poklukar
 
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaSAMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
 
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
 
The Trouble with Saas and Hybrid Cloud
The Trouble with Saas and Hybrid CloudThe Trouble with Saas and Hybrid Cloud
The Trouble with Saas and Hybrid Cloud
 
AMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the CloudAMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the Cloud
 
Fronted development trends - past, present and the future
Fronted development trends - past, present and the futureFronted development trends - past, present and the future
Fronted development trends - past, present and the future
 
Inawisdom MLOPS
Inawisdom MLOPSInawisdom MLOPS
Inawisdom MLOPS
 
Big Data Paris
Big Data ParisBig Data Paris
Big Data Paris
 
Big Data Paris
Big Data ParisBig Data Paris
Big Data Paris
 
Manchester MuleSoft Meetup #7
Manchester MuleSoft Meetup #7 Manchester MuleSoft Meetup #7
Manchester MuleSoft Meetup #7
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in Azure
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in Azure
 

More from Soren Harner

How Augmented Reality Will Improve Our Interactions with Computers from SVVR ...
How Augmented Reality Will Improve Our Interactions with Computers from SVVR ...How Augmented Reality Will Improve Our Interactions with Computers from SVVR ...
How Augmented Reality Will Improve Our Interactions with Computers from SVVR ...Soren Harner
 
Building Products Quantitatively
Building Products QuantitativelyBuilding Products Quantitatively
Building Products QuantitativelySoren Harner
 
SaaS and Product Metrics
SaaS and Product MetricsSaaS and Product Metrics
SaaS and Product MetricsSoren Harner
 
How Developers Save the Planet
How Developers Save the PlanetHow Developers Save the Planet
How Developers Save the PlanetSoren Harner
 
Cundal gathering june 2011
Cundal gathering june 2011Cundal gathering june 2011
Cundal gathering june 2011Soren Harner
 
Software on the High Seas
Software on the High SeasSoftware on the High Seas
Software on the High SeasSoren Harner
 
Scaling atlassian os v4
Scaling atlassian os v4Scaling atlassian os v4
Scaling atlassian os v4Soren Harner
 
Sustainable purchasing
Sustainable purchasingSustainable purchasing
Sustainable purchasingSoren Harner
 

More from Soren Harner (11)

How Augmented Reality Will Improve Our Interactions with Computers from SVVR ...
How Augmented Reality Will Improve Our Interactions with Computers from SVVR ...How Augmented Reality Will Improve Our Interactions with Computers from SVVR ...
How Augmented Reality Will Improve Our Interactions with Computers from SVVR ...
 
Building Products Quantitatively
Building Products QuantitativelyBuilding Products Quantitatively
Building Products Quantitatively
 
SaaS and Product Metrics
SaaS and Product MetricsSaaS and Product Metrics
SaaS and Product Metrics
 
How Developers Save the Planet
How Developers Save the PlanetHow Developers Save the Planet
How Developers Save the Planet
 
Retrospectives
RetrospectivesRetrospectives
Retrospectives
 
Cundal gathering june 2011
Cundal gathering june 2011Cundal gathering june 2011
Cundal gathering june 2011
 
Software on the High Seas
Software on the High SeasSoftware on the High Seas
Software on the High Seas
 
Scaling atlassian os v4
Scaling atlassian os v4Scaling atlassian os v4
Scaling atlassian os v4
 
CoffeeScript
CoffeeScriptCoffeeScript
CoffeeScript
 
Sustainable purchasing
Sustainable purchasingSustainable purchasing
Sustainable purchasing
 
KNOW CHANGE
KNOW CHANGEKNOW CHANGE
KNOW CHANGE
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

Intelligent Application Networks with Mule and Tensorflow

  • 1. WITH MULE AND TENSORFLOW INTELLIGENT APPLICATION NETWORKS
  • 2. MACHINE LEARNING BASED AI WILL TRANSFORM 80% OF BUSINESSES IN FIVE YEARS https://news.greylock.com/the-new-moats-53f61aeac2d9 https://sloanreview.mit.edu/projects/reshaping-business-with-artificial-intelligence/
  • 3. MACHINE LEARNING BASED AI WILL TRANSFORM 80% OF BUSINESSES IN FIVE YEARS https://news.greylock.com/the-new-moats-53f61aeac2d9 https://sloanreview.mit.edu/projects/reshaping-business-with-artificial-intelligence/
  • 4. A MAJOR CHALLENGE IS MANAGING CONNECTIVITY AND CONSTANT CHANGE Accelerating hyperspecialization of data, applications, and devices
  • 5. AVERAGE ENTERPRISE HAS 91 CLOUD SERVICES JUST IN MARKETING GREW FROM 150 TO 6800 SINCE 2011 HYPER SPECIALIZATION IN MARKETING https://chiefmartec.com/2018/04/marketing-technology-landscape-supergraphic-2018/
  • 6. THIS TREND IS ACCELERATING IN EVERY INDUSTRY AS THE PACE OF CHANGE INCREASES COMPANIES DOING “INITIAL COIN OFFERINGS ” https://www.cbinsights.com/reports/CB-Insights_Blockchain-In-Review.pdf
  • 7. TO BUILD A SYSTEM OF INTELLIGENCE, START WITH AN “MINIMUM VIABLE MODEL” AND ITERATE DATA TEAMS MUST ITERATE QUICKLY Identify, Refine Problem Deploy System Collect Feedback Improve Model Train Model Prepare training data Collect Data Explore Data Evaluate Model
  • 8. MOST TIME-CONSUMING, LEAST ENJOYABLE DATA SCIENCE TASK COLLECTING AND CLEANING DATA IS 80% 60% 4% 9% 19% 3% 5% https://www.forbes.com/sites/gilpress/2016/03/23/data-preparation-most-time-consuming-least-enjoyable-data-science-task-survey-says Creating Training Set Cleansing and organizing Collecting Data Mining for patterns Other Refining Algorithms
  • 9. WITH HYPERSPECIALIZATION CURRENT PROBLEMS WILL BECOME WORSE ▸ Custom code to get models into production grade applications ▸ Lack tight integration with user ▸ Long ETL cycles, different update cycles ▸ Poor discoverability ▸ Lack of labeled data ▸ Data lakes become dumping grounds ▸ Governance ▸ Poor metadata FAILURE TO ITERATE RAPIDLY
  • 10. CONNECTIVITY AND ORCHESTRATION MEETS MACHINE LEARNING TO ENABLE RAPID ITERATION SYSTEMS OF INTELLIGENCE
  • 11. CONNECTING APPLICATIONS, DATA, AND DEVICES INTO COMPOSITE APPLICATIONS APPLICATION NETWORKS ▸ APIs and metadata ▸ Data types ▸ Capabilities ▸ Orchestration ▸ Composite applications AWS https://www.mulesoft.com/resources/api/what-is-an-application-network
  • 12. RAPIDLY ITERATE PRODUCTION MODELS AS SERVICES Define Model Train Params Wrangle Pipeline Orchestration Composite Application Update API Build App Publish API Engage Deploy as Microservice Evaluate and Deploy Connect Collect Feedback Mule Connectors Connect Real-Time
  • 13. A CHURN PREDICTION: DESIGN AND IMPLEMENT AN API API Spec and Type Definitions (RAML) Querying the production server in Postman
  • 14. ONCE YOU DEPLOY AND PUBLISH, YOU’VE ADDED A NOTE TO THE APPLICATION NETWORK Publish the API for other applications to use in MuleSoft’s Anypoint Platform Deploy as a micro service to MuleSoft’s PaaS (based on Kubernetes)
  • 15. LOAD KERAS MODEL AND WEIGHTS INTO SPARK AND CALL FROM MULE
  • 16. ORCHESTRATING THE ML PIPELINE WITH MULE FLOWS Evaluate R Packages • Yardstick Mule • Scatter-Gather • Choice Train R Packages • Keras • Rsampler Tensorflow • 35 inputs • 2 hidden layers • Binary output Fetch Mule Connectors Preprocess Mule • Scheduler • DataWeave R Packages • Recipe • Dplyr • Farcats Publish Persist • Recipe • Model • Weights Mule Connector
  • 17. BUILDING THE ML PIPELINE IN MULESOFT’S ANYPOINT STUDIO R is invoked here
  • 18. PROCESSING THE DATA USING RECIPES Adapted from: https://tensorflow.rstudio.com/blog/keras-customer-churn.html Data Set Watson dataset on Telco Churn •20 predictors of churn •Demographics from Salesforce •Products from billing database •Transactions from S3 flat files Preparing the training and test with R Recipes
  • 19. TRAIN THE MODEL WITH KERAS WITH TENSORFLOW BACKEND Diagram here Defining the model in R Keras HIDDEN LAYER 1 (20, 16), RELU HIDDEN LAYER 2 (16, 16), RELU HIDDEN LAYER 2 (16, 1), SIGMOID Training the model in R Keras
  • 20. EVALUATE WITH YARDSTICK, “PUBLISH” UPDATE MODEL IF IT IMPROVES
  • 21. ADDING SYSTEMS OF INTELLIGENCE TO THE APPLICATION NETWORK INTELLIGENT APPLICATION NETWORKS ▸ Specifications ▸ Capabilities ▸ Ontologies ▸ Orchestration ▸ Composite applications ▸ Knowledge Graph ▸ Systems of Intelligence ▸ Computational Graphs AWS TF TF TF TF
  • 22. LINK TO PRESENTATION, VIDEO OF DEMO, AND CODE FOR EXAMPLE Soren Harner is a principal data scientist with Permaling. Permaling provides strategy consulting, implementation, and training for AI in the enterprise. https://permaling.com soeren [at] permaling [dot] com https://github.com/sharner/sdss-mule Permaling