SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Incorporating AI/ML
into Your Application Architecture
Norman Sasono

CTO & Co-Founder, bizzy.co.id
@nsasono /in/normansasono
AI/ML can do wonders.
But it has been too hyped up.
As Architects/Developers, we need to cut through the hype,
and understand how to incorporate AI/ML into our App Architecture,
and solve real problems.
As Data Scientists, we need to understand how Architects/
Developers will use your Model.
What has happened?
AI/ML is now accessible to many more people
Back Then: A few highly specialized individuals Today: Every Developer and Data Scientist
Why now?
AI/ML has been democratized
Convergence of:

• Algorithmic Advancements

• Data Explosion

• Cloud Computing (Computing Power and Storage)
AI
The ability of a machine to perform cognitive functions we associate with
human minds, such as perceiving, reasoning, learning, interacting with
the environment, problem solving, and even exercising creativity. 

Examples of technologies that enable AI to solve business problems are
robotics and autonomous vehicles, computer vision, language, virtual
agents, and machine learning
ML
Machine-learning algorithms detect patterns and learn how to make
predictions and recommendations by processing data and experiences,
rather than by receiving explicit programming instruction. 

The algorithms also adapt in response to new data and experiences to
improve efficacy over time.
AI > ML
AI
ML
ML is a “Function”
Creating Algorithms by training those Algorithms with data. The training
will result Predictive Model that provides an estimated output based on
given input.

The techniques in ML can create decision logic that would be impractical or
impossible to build using traditional application development tools and
algorithms.
Types of Analytics
ML: Supervised Learning
• An algorithm uses training data and
feedback from humans to learn the
relationship of given inputs to a given
output
• Linear Regression

• Logistic Regression

• Linear Quadratic/Discriminant Analysis

• Decision Tree

• Naive Bayes

• Support Vector Machine

• Random Forest

• AdaBoost

• Gradient-Bossting Trees

• Neural Network
ML: Unsupervised Learning
• An algorithm explores input data without
being given an explicit output variable (eg,
explores customer demographic data to
identify patterns)
• K-Means Clustering

• Gaussian Mixture Model

• Hierarchichal Clustering

• Recommender System
ML: Deep Learning
Convolutional Neural Network: 

A multilayered neural network with a special architecture
designed to extract increasingly complex features of the
data at each layer to determine the output

Recurrent Neural Network: 

A multilayered neural network that can store information
in context nodes, allowing it to learn data sequences
and output a number or another sequence
Software Development Cycle v ML Development Cycle
Note that the ML-Model still needs to be implemented in Production Grade
ML Development requires Data Scientist.
It requires skills in Data Analysis & Manipulation,
Mathematics, Statistics, ML Algorithms and Patterns.
Not just Software Development.
Architects/Developers,
let’s say now you need ML in your App.
What can you do?
Treat ML-based functionality like any other component:
• Modularize it

• Keep it loosely coupled
The scope of ML models in app architectures is commonly very localized.
They perform specific functions.

The ML models may be incredibly complex. However, from an app
architect's perspective, they can be encapsulated by simple interfaces that
take the input data to be processed and return a prediction from the model.

Hence, API (in module runtime or remote API).
Some Examples of Integrating ML into App Architecture
Your App
Provider-
Trained ML
Model
Cloud
ML Service
API
Your App
Your-
Trained ML
Model
Your Own
ML Service
API
ML Serving
Framework
Your-
Trained ML
Model
Your App
ML Serving
Framework
Using General Purpose
ML-Based APIs
Using Custom ML APIs
Embed Model in App
At Build
Load/Update Model
At Runtime
Your-
Trained ML
Model
Your App
ML Serving
Framework
Your-
Trained ML
Model
Options for Sourcing ML-Based Capabilities
Use ML-
Based APIs
Use 3rd Party
Software with
Embedded ML
Capabilities
Use Pre-
Trained ML
Model
Refine/Re-
Traine Pre-
Trained ML
Model
Create & Train
New Model
Options for Sourcing ML-based Capabilities
• Use ML-based APIs - the ML behind the APIs are managed by the ML Provider (Microsoft,
Amazon, Google, etc, for NLP, Image Processing, Audio Processing, Voice Processing, etc)

• Use 3rd Party Software with Embedded ML Capability - a bundled ML capabilities in
Software or Open Source Project (ML capabilities in Mobile Phones, CRM Tools,
Productivity Tools, etc)

• Using a Pre-Trained Model (with an ML Framework) - reuse pre-trained model
(Tensorflow Repo, Keras Repo, etc)

• Refining/Re-Train Pre-Built Model (with an ML Framework) - retrain a model with a
specific Data Sets

• Create & Train New Model (with an ML Framework) - create and train custom ML
Model if your data and reqs are proprietary
Data Architecture
Key Takeaways
• Modularize and decouple ML Models as discrete services or components, be it
consuming 3rd party ML-based APIs or your own, then compose these into your
architecture.

• Learn and understand basic ML vocabularies.

• Start with consuming available off-the-shelf ML-based APIs, then custom build
your own model later as needed.

• If you really going to need train an ML Model or create your own custom ML
Model, start to build your Data Science team. Data Scientists will work with
Software Engineers too for Production Grade model Implementation.

• Start with Regression, not Deep Neural Network :)
Thank You
@nsasono /in/normansasono
From various sources: Gartner, McKinsey, Microsoft, AWS, etc

Contenu connexe

Tendances

Y conf talk - Andrej Karpathy
Y conf talk - Andrej KarpathyY conf talk - Andrej Karpathy
Y conf talk - Andrej Karpathy
Sze Siong Teo
 
Demystifying AI | Mathias Vercauteren | Keynote at AI 4 Business Summit | Bru...
Demystifying AI | Mathias Vercauteren | Keynote at AI 4 Business Summit | Bru...Demystifying AI | Mathias Vercauteren | Keynote at AI 4 Business Summit | Bru...
Demystifying AI | Mathias Vercauteren | Keynote at AI 4 Business Summit | Bru...
Mathias Vercauteren
 
Australian Legal Education in 2017: Taking Stock for an Uncertain Future
Australian Legal Education in 2017: Taking Stock for an Uncertain FutureAustralian Legal Education in 2017: Taking Stock for an Uncertain Future
Australian Legal Education in 2017: Taking Stock for an Uncertain Future
Sally Kift
 

Tendances (19)

Y conf talk - Andrej Karpathy
Y conf talk - Andrej KarpathyY conf talk - Andrej Karpathy
Y conf talk - Andrej Karpathy
 
AI 4 Institution Leaders_Feb 2019
AI  4 Institution Leaders_Feb 2019AI  4 Institution Leaders_Feb 2019
AI 4 Institution Leaders_Feb 2019
 
2018 Princeton Fintech & Quant Conference: AI, Machine Learning & Deep Learni...
2018 Princeton Fintech & Quant Conference: AI, Machine Learning & Deep Learni...2018 Princeton Fintech & Quant Conference: AI, Machine Learning & Deep Learni...
2018 Princeton Fintech & Quant Conference: AI, Machine Learning & Deep Learni...
 
Artificial Intelligence (AI) & Machine Learning: Are You Ready?
Artificial Intelligence (AI) & Machine Learning: Are You Ready?Artificial Intelligence (AI) & Machine Learning: Are You Ready?
Artificial Intelligence (AI) & Machine Learning: Are You Ready?
 
Quantitative Ethics - Governance and ethics of AI decisions
Quantitative Ethics - Governance and ethics of AI decisionsQuantitative Ethics - Governance and ethics of AI decisions
Quantitative Ethics - Governance and ethics of AI decisions
 
Best Practices for Scaling Data Science Across the Organization
Best Practices for Scaling Data Science Across the OrganizationBest Practices for Scaling Data Science Across the Organization
Best Practices for Scaling Data Science Across the Organization
 
Business growth principles in the new economy
Business growth principles in the new economy Business growth principles in the new economy
Business growth principles in the new economy
 
Artificial intelligence & machine learning landscape
Artificial intelligence & machine learning landscapeArtificial intelligence & machine learning landscape
Artificial intelligence & machine learning landscape
 
Demystifying AI | Mathias Vercauteren | Keynote at AI 4 Business Summit | Bru...
Demystifying AI | Mathias Vercauteren | Keynote at AI 4 Business Summit | Bru...Demystifying AI | Mathias Vercauteren | Keynote at AI 4 Business Summit | Bru...
Demystifying AI | Mathias Vercauteren | Keynote at AI 4 Business Summit | Bru...
 
From Biology to Industry. A Blogger’s Journey to Data Science.
From Biology to Industry. A Blogger’s Journey to Data Science.From Biology to Industry. A Blogger’s Journey to Data Science.
From Biology to Industry. A Blogger’s Journey to Data Science.
 
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
 
Data-driven UX: What it really takes and how to get there
Data-driven UX: What it really takes and how to get thereData-driven UX: What it really takes and how to get there
Data-driven UX: What it really takes and how to get there
 
Machine Intelligence - Wie Systeme lernen und unseren Alltag verändern
Machine Intelligence - Wie Systeme lernen und unseren Alltag verändernMachine Intelligence - Wie Systeme lernen und unseren Alltag verändern
Machine Intelligence - Wie Systeme lernen und unseren Alltag verändern
 
JU Analytics Day Presentation by Naveen Agarwal, Creative Analytics Solutions...
JU Analytics Day Presentation by Naveen Agarwal, Creative Analytics Solutions...JU Analytics Day Presentation by Naveen Agarwal, Creative Analytics Solutions...
JU Analytics Day Presentation by Naveen Agarwal, Creative Analytics Solutions...
 
Machine Learning Introduction for Digital Business Leaders
Machine Learning Introduction for Digital Business LeadersMachine Learning Introduction for Digital Business Leaders
Machine Learning Introduction for Digital Business Leaders
 
Australian Legal Education in 2017: Taking Stock for an Uncertain Future
Australian Legal Education in 2017: Taking Stock for an Uncertain FutureAustralian Legal Education in 2017: Taking Stock for an Uncertain Future
Australian Legal Education in 2017: Taking Stock for an Uncertain Future
 
From Big Data to AI
From Big Data to AIFrom Big Data to AI
From Big Data to AI
 
Deep Learning in the Real World
Deep Learning in the Real WorldDeep Learning in the Real World
Deep Learning in the Real World
 
Ai ml-demystified-mwux2017-final-171016011705
Ai ml-demystified-mwux2017-final-171016011705Ai ml-demystified-mwux2017-final-171016011705
Ai ml-demystified-mwux2017-final-171016011705
 

Similaire à Norman Sasono - Incorporating AI/ML into Your Application Architecture

Cloud based Machine Learning Platforms, a review - Sagar Khashu
Cloud based Machine Learning Platforms, a review - Sagar KhashuCloud based Machine Learning Platforms, a review - Sagar Khashu
Cloud based Machine Learning Platforms, a review - Sagar Khashu
Sagar Khashu
 
Machine Learning Platformization & AutoML: Adopting ML at Scale in the Enterp...
Machine Learning Platformization & AutoML: Adopting ML at Scale in the Enterp...Machine Learning Platformization & AutoML: Adopting ML at Scale in the Enterp...
Machine Learning Platformization & AutoML: Adopting ML at Scale in the Enterp...
Ed Fernandez
 

Similaire à Norman Sasono - Incorporating AI/ML into Your Application Architecture (20)

Introduction to ML.NET
Introduction to ML.NETIntroduction to ML.NET
Introduction to ML.NET
 
Simplifying AI and Machine Learning with Watson Studio
Simplifying AI and Machine Learning with Watson StudioSimplifying AI and Machine Learning with Watson Studio
Simplifying AI and Machine Learning with Watson Studio
 
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
 
201906 02 Introduction to AutoML with ML.NET 1.0
201906 02 Introduction to AutoML with ML.NET 1.0201906 02 Introduction to AutoML with ML.NET 1.0
201906 02 Introduction to AutoML with ML.NET 1.0
 
201909 Automated ML for Developers
201909 Automated ML for Developers201909 Automated ML for Developers
201909 Automated ML for Developers
 
The Data Science Process - Do we need it and how to apply?
The Data Science Process - Do we need it and how to apply?The Data Science Process - Do we need it and how to apply?
The Data Science Process - Do we need it and how to apply?
 
Sustainable & Composable Generative AI
Sustainable & Composable Generative AISustainable & Composable Generative AI
Sustainable & Composable Generative AI
 
TechDayPakistan-Slides RAG with Cosmos DB.pptx
TechDayPakistan-Slides RAG with Cosmos DB.pptxTechDayPakistan-Slides RAG with Cosmos DB.pptx
TechDayPakistan-Slides RAG with Cosmos DB.pptx
 
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
 
C19013010 the tutorial to build shared ai services session 1
C19013010  the tutorial to build shared ai services session 1C19013010  the tutorial to build shared ai services session 1
C19013010 the tutorial to build shared ai services session 1
 
Machine learning at scale - Webinar By zekeLabs
Machine learning at scale - Webinar By zekeLabsMachine learning at scale - Webinar By zekeLabs
Machine learning at scale - Webinar By zekeLabs
 
Webinar: Machine Learning para Microcontroladores
Webinar: Machine Learning para MicrocontroladoresWebinar: Machine Learning para Microcontroladores
Webinar: Machine Learning para Microcontroladores
 
How I became ML Engineer
How I became ML Engineer How I became ML Engineer
How I became ML Engineer
 
Spsbepoelmanssharepointbigdataclean 150421080105-conversion-gate02
Spsbepoelmanssharepointbigdataclean 150421080105-conversion-gate02Spsbepoelmanssharepointbigdataclean 150421080105-conversion-gate02
Spsbepoelmanssharepointbigdataclean 150421080105-conversion-gate02
 
How to build your own Delve: combining machine learning, big data and SharePoint
How to build your own Delve: combining machine learning, big data and SharePointHow to build your own Delve: combining machine learning, big data and SharePoint
How to build your own Delve: combining machine learning, big data and SharePoint
 
FSI202 Machine Learning in Capital Markets
FSI202 Machine Learning in Capital MarketsFSI202 Machine Learning in Capital Markets
FSI202 Machine Learning in Capital Markets
 
What is Data as a Service by T-Mobile Principle Technical PM
What is Data as a Service by T-Mobile Principle Technical PMWhat is Data as a Service by T-Mobile Principle Technical PM
What is Data as a Service by T-Mobile Principle Technical PM
 
Cloud based Machine Learning Platforms, a review - Sagar Khashu
Cloud based Machine Learning Platforms, a review - Sagar KhashuCloud based Machine Learning Platforms, a review - Sagar Khashu
Cloud based Machine Learning Platforms, a review - Sagar Khashu
 
Apache ® Spark™ MLlib 2.x: How to Productionize your Machine Learning Models
Apache ® Spark™ MLlib 2.x: How to Productionize your Machine Learning ModelsApache ® Spark™ MLlib 2.x: How to Productionize your Machine Learning Models
Apache ® Spark™ MLlib 2.x: How to Productionize your Machine Learning Models
 
Machine Learning Platformization & AutoML: Adopting ML at Scale in the Enterp...
Machine Learning Platformization & AutoML: Adopting ML at Scale in the Enterp...Machine Learning Platformization & AutoML: Adopting ML at Scale in the Enterp...
Machine Learning Platformization & AutoML: Adopting ML at Scale in the Enterp...
 

Plus de Agile Impact

Plus de Agile Impact (19)

Edo Suryo Pamungkas - Agile Recruitment
Edo Suryo Pamungkas - Agile RecruitmentEdo Suryo Pamungkas - Agile Recruitment
Edo Suryo Pamungkas - Agile Recruitment
 
Peterjan Van Nieuwenhuizen - Transformation vs Enterprise distruption
Peterjan Van Nieuwenhuizen - Transformation vs Enterprise distruptionPeterjan Van Nieuwenhuizen - Transformation vs Enterprise distruption
Peterjan Van Nieuwenhuizen - Transformation vs Enterprise distruption
 
Kaspar Situmorang - The anatomy of BRI Digital Transformation.
Kaspar Situmorang - The anatomy of BRI Digital Transformation.Kaspar Situmorang - The anatomy of BRI Digital Transformation.
Kaspar Situmorang - The anatomy of BRI Digital Transformation.
 
Tze Chin Tang - Path to Agility
Tze Chin Tang - Path to AgilityTze Chin Tang - Path to Agility
Tze Chin Tang - Path to Agility
 
Christine Anna Rumawas  - A Place Called Home
Christine Anna Rumawas  - A Place Called HomeChristine Anna Rumawas  - A Place Called Home
Christine Anna Rumawas  - A Place Called Home
 
Rohit Arora - Retrospective, Making Them From Good To Great
Rohit Arora - Retrospective, Making Them From Good To GreatRohit Arora - Retrospective, Making Them From Good To Great
Rohit Arora - Retrospective, Making Them From Good To Great
 
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’tAdi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’t
 
Wahid Nurdin - What is Agile Coach exactly and why do we need them so much ?
Wahid Nurdin - What is Agile Coach exactly and why do we need them so much ?Wahid Nurdin - What is Agile Coach exactly and why do we need them so much ?
Wahid Nurdin - What is Agile Coach exactly and why do we need them so much ?
 
Andeka Putra - The Path to Agility at PT. Blue Bird Group TBK
Andeka Putra - The Path to Agility at PT. Blue Bird Group TBKAndeka Putra - The Path to Agility at PT. Blue Bird Group TBK
Andeka Putra - The Path to Agility at PT. Blue Bird Group TBK
 
Viola Eva - How to use agile practices to transform digital marketing
Viola Eva - How to use agile practices to transform digital marketingViola Eva - How to use agile practices to transform digital marketing
Viola Eva - How to use agile practices to transform digital marketing
 
Alex Sloley - Coaching Up to the C-Suite
Alex Sloley - Coaching Up to the C-SuiteAlex Sloley - Coaching Up to the C-Suite
Alex Sloley - Coaching Up to the C-Suite
 
Urmila Kandha - Emotional Intelligence for the agile enterprises
Urmila Kandha - Emotional Intelligence for the agile enterprisesUrmila Kandha - Emotional Intelligence for the agile enterprises
Urmila Kandha - Emotional Intelligence for the agile enterprises
 
Priscilla Henriette - Agile Transformation, Do it the opposite
Priscilla Henriette - Agile Transformation, Do it the oppositePriscilla Henriette - Agile Transformation, Do it the opposite
Priscilla Henriette - Agile Transformation, Do it the opposite
 
Arthur Purnama & Ichsan Rahardianto - The science in Agile Transformation
Arthur Purnama & Ichsan Rahardianto - The science in Agile TransformationArthur Purnama & Ichsan Rahardianto - The science in Agile Transformation
Arthur Purnama & Ichsan Rahardianto - The science in Agile Transformation
 
Quang Nguyen - What happens when everybody is a leader?
Quang Nguyen - What happens when everybody is a leader?Quang Nguyen - What happens when everybody is a leader?
Quang Nguyen - What happens when everybody is a leader?
 
Shashank Kapoor & Neha Rahaman - Learning Kanban hands on!
Shashank Kapoor & Neha Rahaman - Learning Kanban hands on!Shashank Kapoor & Neha Rahaman - Learning Kanban hands on!
Shashank Kapoor & Neha Rahaman - Learning Kanban hands on!
 
Paul Hutton - Making User Stories Work for Your Product
Paul Hutton - Making User Stories Work for Your ProductPaul Hutton - Making User Stories Work for Your Product
Paul Hutton - Making User Stories Work for Your Product
 
Alex Sloley - Create Your Own Business Agility Canvas
Alex Sloley - Create Your Own Business Agility CanvasAlex Sloley - Create Your Own Business Agility Canvas
Alex Sloley - Create Your Own Business Agility Canvas
 
Jeff Lopez - To Affinity and Beyond
Jeff Lopez - To Affinity and BeyondJeff Lopez - To Affinity and Beyond
Jeff Lopez - To Affinity and Beyond
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
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
vu2urc
 

Dernier (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech 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
 

Norman Sasono - Incorporating AI/ML into Your Application Architecture

  • 1. Incorporating AI/ML into Your Application Architecture Norman Sasono CTO & Co-Founder, bizzy.co.id @nsasono /in/normansasono
  • 2. AI/ML can do wonders. But it has been too hyped up. As Architects/Developers, we need to cut through the hype, and understand how to incorporate AI/ML into our App Architecture, and solve real problems. As Data Scientists, we need to understand how Architects/ Developers will use your Model.
  • 3. What has happened? AI/ML is now accessible to many more people Back Then: A few highly specialized individuals Today: Every Developer and Data Scientist
  • 4. Why now? AI/ML has been democratized Convergence of: • Algorithmic Advancements • Data Explosion • Cloud Computing (Computing Power and Storage)
  • 5. AI The ability of a machine to perform cognitive functions we associate with human minds, such as perceiving, reasoning, learning, interacting with the environment, problem solving, and even exercising creativity. Examples of technologies that enable AI to solve business problems are robotics and autonomous vehicles, computer vision, language, virtual agents, and machine learning
  • 6. ML Machine-learning algorithms detect patterns and learn how to make predictions and recommendations by processing data and experiences, rather than by receiving explicit programming instruction. The algorithms also adapt in response to new data and experiences to improve efficacy over time.
  • 8. ML is a “Function” Creating Algorithms by training those Algorithms with data. The training will result Predictive Model that provides an estimated output based on given input. The techniques in ML can create decision logic that would be impractical or impossible to build using traditional application development tools and algorithms.
  • 10. ML: Supervised Learning • An algorithm uses training data and feedback from humans to learn the relationship of given inputs to a given output • Linear Regression • Logistic Regression • Linear Quadratic/Discriminant Analysis • Decision Tree • Naive Bayes • Support Vector Machine • Random Forest • AdaBoost • Gradient-Bossting Trees • Neural Network
  • 11. ML: Unsupervised Learning • An algorithm explores input data without being given an explicit output variable (eg, explores customer demographic data to identify patterns) • K-Means Clustering • Gaussian Mixture Model • Hierarchichal Clustering • Recommender System
  • 12. ML: Deep Learning Convolutional Neural Network: A multilayered neural network with a special architecture designed to extract increasingly complex features of the data at each layer to determine the output Recurrent Neural Network: A multilayered neural network that can store information in context nodes, allowing it to learn data sequences and output a number or another sequence
  • 13. Software Development Cycle v ML Development Cycle Note that the ML-Model still needs to be implemented in Production Grade
  • 14. ML Development requires Data Scientist. It requires skills in Data Analysis & Manipulation, Mathematics, Statistics, ML Algorithms and Patterns. Not just Software Development.
  • 15. Architects/Developers, let’s say now you need ML in your App. What can you do?
  • 16. Treat ML-based functionality like any other component: • Modularize it • Keep it loosely coupled
  • 17. The scope of ML models in app architectures is commonly very localized. They perform specific functions. The ML models may be incredibly complex. However, from an app architect's perspective, they can be encapsulated by simple interfaces that take the input data to be processed and return a prediction from the model. Hence, API (in module runtime or remote API).
  • 18. Some Examples of Integrating ML into App Architecture Your App Provider- Trained ML Model Cloud ML Service API Your App Your- Trained ML Model Your Own ML Service API ML Serving Framework Your- Trained ML Model Your App ML Serving Framework Using General Purpose ML-Based APIs Using Custom ML APIs Embed Model in App At Build Load/Update Model At Runtime Your- Trained ML Model Your App ML Serving Framework Your- Trained ML Model
  • 19. Options for Sourcing ML-Based Capabilities Use ML- Based APIs Use 3rd Party Software with Embedded ML Capabilities Use Pre- Trained ML Model Refine/Re- Traine Pre- Trained ML Model Create & Train New Model
  • 20. Options for Sourcing ML-based Capabilities • Use ML-based APIs - the ML behind the APIs are managed by the ML Provider (Microsoft, Amazon, Google, etc, for NLP, Image Processing, Audio Processing, Voice Processing, etc) • Use 3rd Party Software with Embedded ML Capability - a bundled ML capabilities in Software or Open Source Project (ML capabilities in Mobile Phones, CRM Tools, Productivity Tools, etc) • Using a Pre-Trained Model (with an ML Framework) - reuse pre-trained model (Tensorflow Repo, Keras Repo, etc) • Refining/Re-Train Pre-Built Model (with an ML Framework) - retrain a model with a specific Data Sets • Create & Train New Model (with an ML Framework) - create and train custom ML Model if your data and reqs are proprietary
  • 21.
  • 22.
  • 23.
  • 25. Key Takeaways • Modularize and decouple ML Models as discrete services or components, be it consuming 3rd party ML-based APIs or your own, then compose these into your architecture. • Learn and understand basic ML vocabularies. • Start with consuming available off-the-shelf ML-based APIs, then custom build your own model later as needed. • If you really going to need train an ML Model or create your own custom ML Model, start to build your Data Science team. Data Scientists will work with Software Engineers too for Production Grade model Implementation. • Start with Regression, not Deep Neural Network :)
  • 26. Thank You @nsasono /in/normansasono From various sources: Gartner, McKinsey, Microsoft, AWS, etc