6 AI Applications - Expert System and NLP
6 AI Applications - Expert System and NLP
AI Applications
Module 6. AI Applications
TE/COMP/VI/CSC604
1
Contents:
Areas of AI
Expert System
Natural Language Processing
Healthcare, Retail,
Robotics
Areas of Artificial Intelligence
Expert System- Outline
Definition
Examples
Components and Human Interfaces
Major Components
Major Roles of Individuals
Notes on Components
Expert System Features
Goal-Driven Reasoning
Uncertainty
Data Driven Reasoning
Explanations
Considerations for Building Expert Systems
Languages, Shell and Tools
Early Expert Systems
Advantages and Disadvantages
Definition of Expert System
Knowledge-based expert systems
IF
unplaced tv and
couch on wall(X) and
wall(Y) opposite wall(X)
THEN
place tv on wall(Y).
Features: Explanations
Ability to explain themselves
System knows which rules were used during the
inference process
Can be very dramatic: dark colored and an albatross =>
the bird was a black footed albatross
At other times, relatively useless to the user
Example - car diagnostic system: no rules
Structure of a Rule-Based Expert System
26
Considerations for Building Expert Systems
Advantages:
Increased availability
Reduced cost
Reduced danger
Performance
Multiple expertise
Increased reliability
Advantages of ES
Advantages:
Explanation
Fast response
Steady, unemotional, and complete responses at all
times
Intelligent database
Disadvantages
Disadvantages:
Lacks common sense
Cannot make creative responses as human expert
Domain experts not always able to explain their
logic and reasoning
Errors may occur in the knowledge base
Cannot adapt to changing environments
AI in Healthcare
1. Diagnosis and disease prediction
Ex. IBM Watson Genomics – uses genome based
sequencing for prediction of cancer tumor
2. Health record improvement
Ex. ML based OCR recognition techniques
3. The prediction of diabetics
Ex. Classification alg. Like KNN, Decision Tree, Naïve
Bayes
4. Finding the best cure
Ex. Microsoft’s Project Hanover:- finds personalized
drug combination to cure Myeloid Leukemia
Activity: Think-Pair Share
Think Individually: Expert System! When you
hear this word. What comes in your mind, write
them in your notebook (2m)
AI Applications
Module 6. AI Applications
TE/COMP/VI/CSC604
38
Contents:
Areas of AI
Expert System
Natural Language Processing
Healthcare, Retail,
Robotics
Areas of Artificial Intelligence
Introduction to NLP
Hz
time
Natural Language Understanding
Input/Output data Processing stage Other data used
noun_phrase verb_phrase
determiner noun
np animated non-anim
[apple]
s vertebral … fruit …
eat([person: Mary], [apple])
apple …
Parsing & semantic analysis
Rules: syntactic rules or semantic rules
What component can be combined with what component?
What is the result of the combination?
Categories
Syntactic categories: Verb, Noun, …
Semantic categories: Person, Fruit, Apple, …
Analyses
Recognize the category of an element
See how different elements can be combined into a
sentence
Problem: The choice is often not unique
Write a semantic analysis grammar
S(pred(obj)) -> NP(obj) VP(pred)
VP(pred(obj)) -> Verb(pred) NP(obj)
NP(obj) -> Name(obj)
Name(John) -> John
Name(Mary) -> Mary
Verb(λyλx Loves(x,y)) -> loves
Discourse analysis
Anaphora
He hits the car with a stone. It bounces back.
Understanding a text
Who/when/where/what … are involved in an event?
How to connect the semantic representations of different
sentences?
What is the cause of an event and what is the consequence of
an action?
…
Pragmatic analysis
Machine Translation
Database Access
Information Retrieval
Selecting from a set of documents the ones that are
relevant to a query
Text Categorization
Sorting text into fixed topic categories
Extracting data from text
Converting unstructured text into structure data
Spoken language control systems
Spelling and grammar checkers
Applications of NLP
The following list is not complete, but useful systems have been
built for:
lexicographers' tools
information retrieval
document classification (filtering, routing)
document clustering
information extraction
question answering
summarization
text segmentation
exam marking
AI in Retail
1. Cashier-free stores
Ex. Amazon Go and Just Walk Out
2. Price predictions
Predictive analytics using Machine learning in retail industry
3. Chatbots to assist with customer service
Chabot can suggest the product based on your current
purchase or past purchase, send notification about new
collections etc.
4. Customer satisfaction tracking
detection of customer mood during shopping process.
Ex. Walmart uses facial recognition system.
Robotics
A robot is…
Force-sensing
Tactile-sensing
Sonar
Visual (camera)
Proprioceptive
Identify objects
Sensors Actuators
Build maps
Avoid objects
Any Questions