SlideShare a Scribd company logo
1 of 17
Download to read offline
© 2015 IBM Corporation
Rules in Artificial Intelligence
Nov 2015
Pierre Feillet – Decision automation architect
© 2015 IBM Corporation
Agenda
2
 Origins
 Expert System -> Inference Engine -> Rules
 Current state
 From raw inference engine to Entreprise decision automation
 Business Rules in Bluemix
 Perspectives
© 2015 IBM Corporation
RULES TO MIMIC HUMAN MIND
From Expert Systems to Operation Decision Management
© 2015 IBM Corporation
Expert Systems
4
 An expert system is a computer system that emulates the decision-making ability of a human
expert. Expert systems are designed to solve complex problems by reasoning about
knowledge, represented primarily as if–then rules rather than through conventional procedural
code.
 The first expert systems were created in the 1970s and then proliferated in the 1980s. Expert
systems were among the first truly successful forms of AI software. Expert systems were
introduced by the Stanford Heuristic Programming Project. Applied to domains where
expertise was highly valued and complex, such as diagnosing infectious diseases (Mycin).
 The typical expert system consisted of a knowledge base and an inference engine.
 The knowledge base stored facts about the world.
 The inference engine applied logical rules to the knowledge base and deduced new
knowledge. This process would iterate as each new fact in the knowledge base could trigger
additional rules in the inference engine.
© 2015 IBM Corporation
Rules as expertise programming model
5
 The logic that an inference engine uses is typically represented as IF-THEN rules.
 The general format of such rules is IF <logical expression> THEN <logical expression>.
 Prior to the development of expert systems and inference engines artificial intelligence
researchers focused on more powerful theorem prover environments that offered much fuller
implementations of First Order Logic. For example, general statements that included universal
quantification (for all X some statement is true) and existential quantification (there exists
some X such that some statement is true).
 What researchers discovered is that the power of these theorem proving environments was
also their drawback. It was far too easy to create logical expressions that could take an
indeterminate or even infinite time to terminate.
 Focusing on IF-THEN statements (what logicians call Modus Ponens) still gave developers a
very powerful general mechanism to represent logic but one that could be used efficiently with
computational resources. What is more there is some psychological research that indicates
humans also tend to favor IF-THEN representations when storing complex knowledge.
© 2015 IBM Corporation
Rule Logic
6
 A simple example of Modus Ponens often used in introductory logic books is "If you are
human then you are mortal". This can be represented in pseudocode as:
Rule1: Human(x) => Mortal(x)
 2 primarly modes: forward chaining and backward chaining.
 Forward chaining starts with the known facts and asserts new facts.
Ex: Socrate is Human so he is mortal
 Backward chaining starts with goals, and works backward to determine what facts must be
asserted so that the goals can be achieved.
 Ex: Is Socrate mortal? It would search through the knowledge base and determine if
Socrates was Human and if so would assert he is also Mortal.
 Backward chaining can include a common technique was to integrate the inference engine
with a user interface to ask questions when facts are not enough and would then use that
information accordingly.
 This innovation of integrating the inference engine with a user interface led to the second
early advancement of expert systems: explanation capabilities. At first these explanations
were not much different than the standard debugging information that developers deal with
when debugging any system. However, an active area of research was utilizing natural
language technology to ask, understand, and generate questions and explanations using
© 2015 IBM Corporation
Rule Logic
7
 An inference engine cycles through three sequential steps: match rules, select rules, and
execute rules. The execution of the rules will often result in new facts or goals being added
to the knowledge base which will trigger the cycle to repeat. This cycle continues until no
new rules can be matched.
 In the first step, match rules, the inference engine finds all of the rules that are triggered by
the current contents of the knowledge base. In forward chaining the engine looks for rules
where the antecedent (left hand side) matches some fact in the knowledge base. In
backward chaining the engine looks for antecedents that can satisfy one of the current
goals.
 In the second step select rules, the inference engine prioritizes the various rules that were
matched to determine the order to execute them.
 In the final step, execute rules, the engine executes each matched rule in the order
determined in step two and then iterates back to step one again. The cycle continues until
no new rules are matched.
 Rule engine algorithms
 RETE, sequential, IBM Fastpath, etc
 Stateless & stateful processing
© 2015 IBM Corporation
From Expert Systems to Operational Decision Management
8
 Goal: Empower Business Users to author,
test, simulate, deploy their decision logic
 Bring a Business Model on the top of Java,
XML, JSON, COBOL, etc
 Add high level rule artifacts: Decision Table
& Trees
 Provide near natural language DSLs with
editors to write your rules in your preferred
locale: Chinese, English
 Integrate the rule engine into a server to
scale, and hot deploy ruleset in a 24/7
manner
 Trace decisions for auditability
 Cloud
 PaaS & SaaS
Rule
engine
Business
Model
Localized
Business
Languages
Decision
warehouse
Decision
Server
Testing &
Simulation
Business
Rules
Tools Cloud
© 2015 IBM Corporation
IBM BUSINESS RULES
Business rules as a service in IBM Bluemix
© 2015 IBM Corporation
Your Application
Externalize Decisions from Applications into Business Rules
Manage decision logic independently from applications
Your Application
Decision logic
 Natural language rules can be easily read
 Externalized rules are easy to change
 Centralized rules enable reuse and
consistency
 Rules written in software code cannot be
read easily
 Hard coded rules are difficult to change
 Rules intertwined within applications
cannot be reused by other systems
Business Rules
© 2015 IBM Corporation
IBM Business Rules, a Smarter Process high value service
Familiar Environment for Authoring
Developers can download an Eclipse
based authoring tool and author rules in a
familiar user-friendly environment.
Separate Business Logic
Business logic is authored separately from
the application which enables easier
change in business policy / logic and
codified capture of business policies,
practices and regulations..
Business logic is easily expressed with
business rules to automate decisions with
the fidelity of a subject matter expert.
Bridge Business Users and Developers
Deploy Versioned Business Logic
Multiple versions of the Business logic can
be tested and deployed in the same
Business Rules Service. Switching,
upgrading, sharing business logic across
applications has never been easier.
Enables developers to spend less time recoding and testing when the
business policy changes. The Business Rules service minimizes your
code changes by keeping business logic separate from application logic.
Business Rules
© 2015 IBM Corporation
The Business Rules service simplifies the experience of creating and
managing mobile app business logic – making apps more adaptable
• Rules tied to mobile services like push or location enable advanced scenarios
© 2015 IBM Corporation
Developing and deploying applications using the Business Rules
service
IBM Bluemix
One
app
Another
app
Business Rules
service instance
Author business rules with Rule
Designer plug-ins for Eclipse
Deploy
business
rules
Develop and push app code
Call the
service
Users access
apps from their
devices
Non-Bluemix apps
can call the service
too
Call the service
© 2015 IBM Corporation
Perspectives
14
 Extending to event driven long term stateful situation detection
 Detect automatically risks & opportunity and operate decisions
 See IBM ODM Decision Server Insights
 Cloud
 Top down modelling, ootb connectivity for easy to consume cloud offerings
 IoT
 Functional coverage
 Improve explanation
 What if analysis
 Recycling of past decisions
 Measuring & optimizing decision fitness
 Rule mining
 Learn rules from past decisions & reasoning
 Combination of Predictive & Prescriptive analytics
© 2015 IBM Corporation
Wrap up
15
 Rules
 From 70s IA to today enterprise decision management
 Empower developers and business users to automate decision making
 Provides transparency and explanation
 Rules are based on Causality while Big Data & Machine Learning are based on correlation
 Try Business Rules in Bluemix https://console.ng.bluemix.net on London datacenter
Business Rules
© 2015 IBM Corporation
Q & A
16
© 2015 IBM Corporation
in your app
in Bluemix
in Eclipse
in Bluemix
Steps to author and deploy business rules
 Provision a Business Rules service
 Download the Rule Designer Eclipse plug-ins to author Business Rules
 Install the plug-ins
 Create a new Rule project
 Create the eXecution Object Model (XOM) from Java or XSD
 Define the Business Object Model (BOM) for rules
 Orchestrate and author the rules, decision tables
 Deploy your rule application to the Business Rules service
 Bind the Business Rules service to your application
 Call to the Business Rules service from your application code
The Rule Project Map guides you through all the authoring steps.

More Related Content

What's hot

Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile Performance
Apigee | Google Cloud
 
Flying Pixels Ent Apps Jeremy Chone
Flying Pixels Ent Apps Jeremy ChoneFlying Pixels Ent Apps Jeremy Chone
Flying Pixels Ent Apps Jeremy Chone
rajivmordani
 
As Software eats the World, APIs eat Software
As Software eats the World, APIs eat SoftwareAs Software eats the World, APIs eat Software
As Software eats the World, APIs eat Software
3scale
 
Research Report: Cloud Trends in 2011 and beyond
Research Report: Cloud Trends in 2011 and beyondResearch Report: Cloud Trends in 2011 and beyond
Research Report: Cloud Trends in 2011 and beyond
Krishnan Subramanian
 
Tempo - Mobile access with Governance
Tempo - Mobile access with GovernanceTempo - Mobile access with Governance
Tempo - Mobile access with Governance
Gabe Faraone
 

What's hot (20)

Create Event-Driven iOS Apps Using IBM Mobile Foundation, OpenWhisk Runtime a...
Create Event-Driven iOS Apps Using IBM Mobile Foundation, OpenWhisk Runtime a...Create Event-Driven iOS Apps Using IBM Mobile Foundation, OpenWhisk Runtime a...
Create Event-Driven iOS Apps Using IBM Mobile Foundation, OpenWhisk Runtime a...
 
Building Bots Using IBM Watson
Building Bots Using IBM WatsonBuilding Bots Using IBM Watson
Building Bots Using IBM Watson
 
Federated Machine Learning Framework
Federated Machine Learning FrameworkFederated Machine Learning Framework
Federated Machine Learning Framework
 
Business value of Lync integrations
Business value of Lync integrationsBusiness value of Lync integrations
Business value of Lync integrations
 
Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...
Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...
Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile Performance
 
Flying Pixels Ent Apps Jeremy Chone
Flying Pixels Ent Apps Jeremy ChoneFlying Pixels Ent Apps Jeremy Chone
Flying Pixels Ent Apps Jeremy Chone
 
Hexagonal architecture in Fintech
Hexagonal architecture in FintechHexagonal architecture in Fintech
Hexagonal architecture in Fintech
 
Startups: Streit, Scaleup - introduction and product demo
Startups: Streit, Scaleup - introduction and product demoStartups: Streit, Scaleup - introduction and product demo
Startups: Streit, Scaleup - introduction and product demo
 
JBCN_Testing_With_Containers
JBCN_Testing_With_ContainersJBCN_Testing_With_Containers
JBCN_Testing_With_Containers
 
IBM Cloud Privé - White paper présentation EN
IBM Cloud Privé - White paper présentation ENIBM Cloud Privé - White paper présentation EN
IBM Cloud Privé - White paper présentation EN
 
Ms webfourm nettskyen okt2010
Ms webfourm   nettskyen okt2010Ms webfourm   nettskyen okt2010
Ms webfourm nettskyen okt2010
 
Designing a Reliable Software Factory for the Cloud
Designing a Reliable Software Factory for the CloudDesigning a Reliable Software Factory for the Cloud
Designing a Reliable Software Factory for the Cloud
 
As Software eats the World, APIs eat Software
As Software eats the World, APIs eat SoftwareAs Software eats the World, APIs eat Software
As Software eats the World, APIs eat Software
 
Research Report: Cloud Trends in 2011 and beyond
Research Report: Cloud Trends in 2011 and beyondResearch Report: Cloud Trends in 2011 and beyond
Research Report: Cloud Trends in 2011 and beyond
 
Microservice architecture : Part 1
Microservice architecture : Part 1Microservice architecture : Part 1
Microservice architecture : Part 1
 
Evolution of #cloud computing
Evolution of #cloud computingEvolution of #cloud computing
Evolution of #cloud computing
 
Bluemix summary
Bluemix summaryBluemix summary
Bluemix summary
 
Node.JS Vs PHP: Which Is The Top Server-Side Programming Language?
Node.JS Vs PHP: Which Is The Top Server-Side Programming Language?Node.JS Vs PHP: Which Is The Top Server-Side Programming Language?
Node.JS Vs PHP: Which Is The Top Server-Side Programming Language?
 
Tempo - Mobile access with Governance
Tempo - Mobile access with GovernanceTempo - Mobile access with Governance
Tempo - Mobile access with Governance
 

Similar to IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015

Case study of rules as relational data
Case study of rules as relational dataCase study of rules as relational data
Case study of rules as relational data
Jeff Long
 
Drools Presentation for Tallink.ee
Drools Presentation for Tallink.eeDrools Presentation for Tallink.ee
Drools Presentation for Tallink.ee
Anton Arhipov
 
chapter-1-software-and-software-engineering-software-engineering-a-practition...
chapter-1-software-and-software-engineering-software-engineering-a-practition...chapter-1-software-and-software-engineering-software-engineering-a-practition...
chapter-1-software-and-software-engineering-software-engineering-a-practition...
Archana Sable
 

Similar to IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015 (20)

Rules in Artificial Intelligence
Rules in Artificial IntelligenceRules in Artificial Intelligence
Rules in Artificial Intelligence
 
Case study of rules as relational data
Case study of rules as relational dataCase study of rules as relational data
Case study of rules as relational data
 
Case study of rules as relational data
Case study of rules as relational dataCase study of rules as relational data
Case study of rules as relational data
 
Four ways to represent computer executable rules
Four ways to represent computer executable rulesFour ways to represent computer executable rules
Four ways to represent computer executable rules
 
Drools Presentation for Tallink.ee
Drools Presentation for Tallink.eeDrools Presentation for Tallink.ee
Drools Presentation for Tallink.ee
 
The Key Differences Between Rule-Based AI And Machine Learning
The Key Differences Between Rule-Based AI And Machine LearningThe Key Differences Between Rule-Based AI And Machine Learning
The Key Differences Between Rule-Based AI And Machine Learning
 
Secret Twists to Efficiently Develop Reactive Software Systems
Secret Twists to Efficiently Develop Reactive Software SystemsSecret Twists to Efficiently Develop Reactive Software Systems
Secret Twists to Efficiently Develop Reactive Software Systems
 
Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)
 
X-Analysis Application Process Mapping
X-Analysis Application Process MappingX-Analysis Application Process Mapping
X-Analysis Application Process Mapping
 
[DSC Europe 23] Igor Ilic - Redefining User Experience with Large Language Mo...
[DSC Europe 23] Igor Ilic - Redefining User Experience with Large Language Mo...[DSC Europe 23] Igor Ilic - Redefining User Experience with Large Language Mo...
[DSC Europe 23] Igor Ilic - Redefining User Experience with Large Language Mo...
 
Slides chapter 1
Slides chapter 1Slides chapter 1
Slides chapter 1
 
Slides chapter 1
Slides chapter 1Slides chapter 1
Slides chapter 1
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
GenerativeAI and Automation - IEEE ACSOS 2023.pptx
GenerativeAI and Automation - IEEE ACSOS 2023.pptxGenerativeAI and Automation - IEEE ACSOS 2023.pptx
GenerativeAI and Automation - IEEE ACSOS 2023.pptx
 
Operator-less DataCenters -- A Reality
Operator-less DataCenters -- A RealityOperator-less DataCenters -- A Reality
Operator-less DataCenters -- A Reality
 
Operator-Less DataCenters A Near Future Reality
Operator-Less DataCenters A Near Future RealityOperator-Less DataCenters A Near Future Reality
Operator-Less DataCenters A Near Future Reality
 
[db tech showcase Tokyo 2018] #dbts2018 #B27 『Discover Machine Learning and A...
[db tech showcase Tokyo 2018] #dbts2018 #B27 『Discover Machine Learning and A...[db tech showcase Tokyo 2018] #dbts2018 #B27 『Discover Machine Learning and A...
[db tech showcase Tokyo 2018] #dbts2018 #B27 『Discover Machine Learning and A...
 
The Machine Learning Audit. MIS ITAC 2017 Keynote
The Machine Learning Audit. MIS ITAC 2017 KeynoteThe Machine Learning Audit. MIS ITAC 2017 Keynote
The Machine Learning Audit. MIS ITAC 2017 Keynote
 
chapter-1-software-and-software-engineering-software-engineering-a-practition...
chapter-1-software-and-software-engineering-software-engineering-a-practition...chapter-1-software-and-software-engineering-software-engineering-a-practition...
chapter-1-software-and-software-engineering-software-engineering-a-practition...
 
Bt0081 software engineering
Bt0081 software engineeringBt0081 software engineering
Bt0081 software engineering
 

More from IBM France Lab

20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
IBM France Lab
 
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
IBM France Lab
 
IBM Cloud Bordeaux Meetup - 20190325 - Software Factory
IBM Cloud Bordeaux Meetup - 20190325 - Software FactoryIBM Cloud Bordeaux Meetup - 20190325 - Software Factory
IBM Cloud Bordeaux Meetup - 20190325 - Software Factory
IBM France Lab
 

More from IBM France Lab (20)

20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes
20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes
20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes
 
20200114 - IBM Cloud Paris Meetup - DevOps
20200114 - IBM Cloud Paris Meetup - DevOps20200114 - IBM Cloud Paris Meetup - DevOps
20200114 - IBM Cloud Paris Meetup - DevOps
 
20200128 - Meetup Nice Côte d'Azur - Agile Mindset
20200128 - Meetup Nice Côte d'Azur - Agile Mindset20200128 - Meetup Nice Côte d'Azur - Agile Mindset
20200128 - Meetup Nice Côte d'Azur - Agile Mindset
 
Défis de l'IA : droits, devoirs, enjeux économiques et éthiques
Défis de l'IA : droits, devoirs, enjeux économiques et éthiquesDéfis de l'IA : droits, devoirs, enjeux économiques et éthiques
Défis de l'IA : droits, devoirs, enjeux économiques et éthiques
 
Meetup ibm abakus banque postale
Meetup ibm abakus banque postaleMeetup ibm abakus banque postale
Meetup ibm abakus banque postale
 
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
 
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
20190613 - IBM Cloud Côte d'Azur meetup - "Cloud & Containers"
 
IBM Watson IOT - Acoustic or Visual Insights
IBM Watson IOT - Acoustic or Visual InsightsIBM Watson IOT - Acoustic or Visual Insights
IBM Watson IOT - Acoustic or Visual Insights
 
Retour expérience Track & Trace - IBM using Sigfox.
Retour expérience Track & Trace - IBM using Sigfox.Retour expérience Track & Trace - IBM using Sigfox.
Retour expérience Track & Trace - IBM using Sigfox.
 
20190520 - IBM Cloud Paris-Saclay Meetup - Hardis Group
20190520  - IBM Cloud Paris-Saclay Meetup - Hardis Group20190520  - IBM Cloud Paris-Saclay Meetup - Hardis Group
20190520 - IBM Cloud Paris-Saclay Meetup - Hardis Group
 
IBM Cloud Paris Meetup - 20190520 - IA & Power
IBM Cloud Paris Meetup - 20190520 - IA & PowerIBM Cloud Paris Meetup - 20190520 - IA & Power
IBM Cloud Paris Meetup - 20190520 - IA & Power
 
IBM Cloud Côte d'Azur Meetup - 20190328 - Optimisation
IBM Cloud Côte d'Azur Meetup - 20190328 - OptimisationIBM Cloud Côte d'Azur Meetup - 20190328 - Optimisation
IBM Cloud Côte d'Azur Meetup - 20190328 - Optimisation
 
IBM Cloud Côte d'Azur Meetup - 20190328 - Optimisation
IBM Cloud Côte d'Azur Meetup - 20190328 - OptimisationIBM Cloud Côte d'Azur Meetup - 20190328 - Optimisation
IBM Cloud Côte d'Azur Meetup - 20190328 - Optimisation
 
IBM Cloud Bordeaux Meetup - 20190325 - Software Factory
IBM Cloud Bordeaux Meetup - 20190325 - Software FactoryIBM Cloud Bordeaux Meetup - 20190325 - Software Factory
IBM Cloud Bordeaux Meetup - 20190325 - Software Factory
 
IBM Cloud Paris Meetup - 20190129 - Assima
IBM Cloud Paris Meetup - 20190129 - AssimaIBM Cloud Paris Meetup - 20190129 - Assima
IBM Cloud Paris Meetup - 20190129 - Assima
 
IBM Cloud Paris Meetup - 20190129 - Myrtea
IBM Cloud Paris Meetup - 20190129 - MyrteaIBM Cloud Paris Meetup - 20190129 - Myrtea
IBM Cloud Paris Meetup - 20190129 - Myrtea
 
IBM Cloud Paris Meetup - 20181016 - L'agilité à l'échelle
IBM Cloud Paris Meetup - 20181016 - L'agilité à l'échelleIBM Cloud Paris Meetup - 20181016 - L'agilité à l'échelle
IBM Cloud Paris Meetup - 20181016 - L'agilité à l'échelle
 
IBM Cloud Côte d'Azur Meetup - Blockchain Business Processes & Rule-based Sm...
IBM Cloud Côte d'Azur Meetup - Blockchain Business Processes &  Rule-based Sm...IBM Cloud Côte d'Azur Meetup - Blockchain Business Processes &  Rule-based Sm...
IBM Cloud Côte d'Azur Meetup - Blockchain Business Processes & Rule-based Sm...
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
 
IBM Cloud Paris Meetup - 20180911 - Common Ledger for Public Administration
IBM Cloud Paris Meetup - 20180911 - Common Ledger for Public AdministrationIBM Cloud Paris Meetup - 20180911 - Common Ledger for Public Administration
IBM Cloud Paris Meetup - 20180911 - Common Ledger for Public Administration
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015

  • 1. © 2015 IBM Corporation Rules in Artificial Intelligence Nov 2015 Pierre Feillet – Decision automation architect
  • 2. © 2015 IBM Corporation Agenda 2  Origins  Expert System -> Inference Engine -> Rules  Current state  From raw inference engine to Entreprise decision automation  Business Rules in Bluemix  Perspectives
  • 3. © 2015 IBM Corporation RULES TO MIMIC HUMAN MIND From Expert Systems to Operation Decision Management
  • 4. © 2015 IBM Corporation Expert Systems 4  An expert system is a computer system that emulates the decision-making ability of a human expert. Expert systems are designed to solve complex problems by reasoning about knowledge, represented primarily as if–then rules rather than through conventional procedural code.  The first expert systems were created in the 1970s and then proliferated in the 1980s. Expert systems were among the first truly successful forms of AI software. Expert systems were introduced by the Stanford Heuristic Programming Project. Applied to domains where expertise was highly valued and complex, such as diagnosing infectious diseases (Mycin).  The typical expert system consisted of a knowledge base and an inference engine.  The knowledge base stored facts about the world.  The inference engine applied logical rules to the knowledge base and deduced new knowledge. This process would iterate as each new fact in the knowledge base could trigger additional rules in the inference engine.
  • 5. © 2015 IBM Corporation Rules as expertise programming model 5  The logic that an inference engine uses is typically represented as IF-THEN rules.  The general format of such rules is IF <logical expression> THEN <logical expression>.  Prior to the development of expert systems and inference engines artificial intelligence researchers focused on more powerful theorem prover environments that offered much fuller implementations of First Order Logic. For example, general statements that included universal quantification (for all X some statement is true) and existential quantification (there exists some X such that some statement is true).  What researchers discovered is that the power of these theorem proving environments was also their drawback. It was far too easy to create logical expressions that could take an indeterminate or even infinite time to terminate.  Focusing on IF-THEN statements (what logicians call Modus Ponens) still gave developers a very powerful general mechanism to represent logic but one that could be used efficiently with computational resources. What is more there is some psychological research that indicates humans also tend to favor IF-THEN representations when storing complex knowledge.
  • 6. © 2015 IBM Corporation Rule Logic 6  A simple example of Modus Ponens often used in introductory logic books is "If you are human then you are mortal". This can be represented in pseudocode as: Rule1: Human(x) => Mortal(x)  2 primarly modes: forward chaining and backward chaining.  Forward chaining starts with the known facts and asserts new facts. Ex: Socrate is Human so he is mortal  Backward chaining starts with goals, and works backward to determine what facts must be asserted so that the goals can be achieved.  Ex: Is Socrate mortal? It would search through the knowledge base and determine if Socrates was Human and if so would assert he is also Mortal.  Backward chaining can include a common technique was to integrate the inference engine with a user interface to ask questions when facts are not enough and would then use that information accordingly.  This innovation of integrating the inference engine with a user interface led to the second early advancement of expert systems: explanation capabilities. At first these explanations were not much different than the standard debugging information that developers deal with when debugging any system. However, an active area of research was utilizing natural language technology to ask, understand, and generate questions and explanations using
  • 7. © 2015 IBM Corporation Rule Logic 7  An inference engine cycles through three sequential steps: match rules, select rules, and execute rules. The execution of the rules will often result in new facts or goals being added to the knowledge base which will trigger the cycle to repeat. This cycle continues until no new rules can be matched.  In the first step, match rules, the inference engine finds all of the rules that are triggered by the current contents of the knowledge base. In forward chaining the engine looks for rules where the antecedent (left hand side) matches some fact in the knowledge base. In backward chaining the engine looks for antecedents that can satisfy one of the current goals.  In the second step select rules, the inference engine prioritizes the various rules that were matched to determine the order to execute them.  In the final step, execute rules, the engine executes each matched rule in the order determined in step two and then iterates back to step one again. The cycle continues until no new rules are matched.  Rule engine algorithms  RETE, sequential, IBM Fastpath, etc  Stateless & stateful processing
  • 8. © 2015 IBM Corporation From Expert Systems to Operational Decision Management 8  Goal: Empower Business Users to author, test, simulate, deploy their decision logic  Bring a Business Model on the top of Java, XML, JSON, COBOL, etc  Add high level rule artifacts: Decision Table & Trees  Provide near natural language DSLs with editors to write your rules in your preferred locale: Chinese, English  Integrate the rule engine into a server to scale, and hot deploy ruleset in a 24/7 manner  Trace decisions for auditability  Cloud  PaaS & SaaS Rule engine Business Model Localized Business Languages Decision warehouse Decision Server Testing & Simulation Business Rules Tools Cloud
  • 9. © 2015 IBM Corporation IBM BUSINESS RULES Business rules as a service in IBM Bluemix
  • 10. © 2015 IBM Corporation Your Application Externalize Decisions from Applications into Business Rules Manage decision logic independently from applications Your Application Decision logic  Natural language rules can be easily read  Externalized rules are easy to change  Centralized rules enable reuse and consistency  Rules written in software code cannot be read easily  Hard coded rules are difficult to change  Rules intertwined within applications cannot be reused by other systems Business Rules
  • 11. © 2015 IBM Corporation IBM Business Rules, a Smarter Process high value service Familiar Environment for Authoring Developers can download an Eclipse based authoring tool and author rules in a familiar user-friendly environment. Separate Business Logic Business logic is authored separately from the application which enables easier change in business policy / logic and codified capture of business policies, practices and regulations.. Business logic is easily expressed with business rules to automate decisions with the fidelity of a subject matter expert. Bridge Business Users and Developers Deploy Versioned Business Logic Multiple versions of the Business logic can be tested and deployed in the same Business Rules Service. Switching, upgrading, sharing business logic across applications has never been easier. Enables developers to spend less time recoding and testing when the business policy changes. The Business Rules service minimizes your code changes by keeping business logic separate from application logic. Business Rules
  • 12. © 2015 IBM Corporation The Business Rules service simplifies the experience of creating and managing mobile app business logic – making apps more adaptable • Rules tied to mobile services like push or location enable advanced scenarios
  • 13. © 2015 IBM Corporation Developing and deploying applications using the Business Rules service IBM Bluemix One app Another app Business Rules service instance Author business rules with Rule Designer plug-ins for Eclipse Deploy business rules Develop and push app code Call the service Users access apps from their devices Non-Bluemix apps can call the service too Call the service
  • 14. © 2015 IBM Corporation Perspectives 14  Extending to event driven long term stateful situation detection  Detect automatically risks & opportunity and operate decisions  See IBM ODM Decision Server Insights  Cloud  Top down modelling, ootb connectivity for easy to consume cloud offerings  IoT  Functional coverage  Improve explanation  What if analysis  Recycling of past decisions  Measuring & optimizing decision fitness  Rule mining  Learn rules from past decisions & reasoning  Combination of Predictive & Prescriptive analytics
  • 15. © 2015 IBM Corporation Wrap up 15  Rules  From 70s IA to today enterprise decision management  Empower developers and business users to automate decision making  Provides transparency and explanation  Rules are based on Causality while Big Data & Machine Learning are based on correlation  Try Business Rules in Bluemix https://console.ng.bluemix.net on London datacenter Business Rules
  • 16. © 2015 IBM Corporation Q & A 16
  • 17. © 2015 IBM Corporation in your app in Bluemix in Eclipse in Bluemix Steps to author and deploy business rules  Provision a Business Rules service  Download the Rule Designer Eclipse plug-ins to author Business Rules  Install the plug-ins  Create a new Rule project  Create the eXecution Object Model (XOM) from Java or XSD  Define the Business Object Model (BOM) for rules  Orchestrate and author the rules, decision tables  Deploy your rule application to the Business Rules service  Bind the Business Rules service to your application  Call to the Business Rules service from your application code The Rule Project Map guides you through all the authoring steps.