Department of Computer Science | Bahria University
SEN-455
Knowledge Based
Management System
Department of Computer Science | Bahria University
Department of Computer Science | Bahria University
Chapter Objectives
• The Concept of Learning
• Data Visualization
• Neural Networks
The Basics
Supervised and Unsupervised Learning Business Applications
• Association Rules
Department of Computer Science | Bahria University
The “Context” of Learning
• The “value added” collaborative intelligence
layer of KM architecture
• Relevant technologies are:
– Artificial Intelligence – Experts Systems – Case-Based Reasoning – Data Warehousing – Intelligent agents – Neural Networks
Department of Computer Science | Bahria University
The “Process” of Learning
• A process of filtering and
transforming data into valid and useful knowledge.
• Automate via technology tools:
– provide a collaborative
learning environment for participants
– enhance their ability to
understand the processes / tasks they are dealing with
Department of Computer Science | Bahria University
The “Goals” of Learning
• Final goal is to improve the
qualities of communication and decision making
• Ways to achieve these goals:
– Verify hypotheses (formed from
accumulated knowledge)
– Discover new patterns in data
– Predict future trends and
Department of Computer Science | Bahria University
Learning from Data
• Build learning models that automatically
improve with experience.
• Top-down approach
– Generate ideas
– Develop models
– Validate models
• Bottom-up approach
– Discover new (unknown) patterns
Department of Computer Science | Bahria University
Predicting health of a patient needs measurements.
• Height • Weight
• Systolic blood pressure • Diastolic blood pressure • Enzyme levels
• Blood sugar levels
Department of Computer Science | Bahria University
height weight BP enzyme Health?
70 64 3 1 1 23 86 5 0 1 56 49 5 1 0 50 88 3 0 0 12 50 1 0 1 56 66 2 1 0 … … … … … … … … … … … … … … … … … … … … 56 1 5 0 0 Class, or “label” “Features” “Examples”
Historical data in health records for example.
Department of Computer Science | Bahria University Training data + labels Predicted Labels Model Learning algorithm Testing Data (no labels) New person!
Department of Computer Science | Bahria University Training data + labels Predicted Labels Model Learning algorithm Testing Data (no labels) New person! TRAINING PHASE TESTING PHASE
Department of Computer Science | Bahria University
Predicting health.
Quite a hard problem even for trained professional!
Need to QUANTIFY performance of our algorithms.
Model Learning algorithm
Learning Algorithms make
Mistakes
Department of Computer Science | Bahria University
Top-down approach (Example)
• Start with a hypothesis derived
from observation or prior knowledge
• “Tourists visiting Egypt earn an
annual income of at least $50,000”
• Hypothesis tested by querying
database followed by analysis
• If tests not supportive, hypothesis
Department of Computer Science | Bahria University
Bottom-up approach (Example)
• No hypothesis to test
• “Find unknown buying patterns
by analyzing the shopping basket”
• “ … showed married males, age
21 to 27, shopped for diapers also brought action movies cds.
• “store decided to stack cds cases
Department of Computer Science | Bahria University
Data Visualization
• Explore visually for trends in
data useful for making decision
• Exploring data includes:
– Identify key attributes
and their distribution
– Extract interesting
grouping of data subsets
Department of Computer Science | Bahria University
Example of Data Visualization
(John Snow and the Cholera outbreak in London, 1845)Department of Computer Science | Bahria University
Model
• Modeled after human brain’s
network
• Simulate biological
information processing via networks of interconnected neurons
• Neural networks are analog
Department of Computer Science | Bahria University
Neurons – The Basic Elements
• The neuron receives inputs,
determines their weights (strengths), sums the
combined inputs, and compares the total to a
threshold (transfer function)
• If total is greater than
threshold, the neuron fires (sends an output)
Department of Computer Science | Bahria University
A Neuron Model
Department of Computer Science | Bahria University
Learning in Neural Network
• Supervised
– The NN needs a teacher
with a training set of examples of input and output
• Unsupervised (or
Self-Supervised)
Department of Computer Science | Bahria University
Supervised Learning
• Each element in a training
set is paired with an acceptable response
• Network makes successive
passes through the examples
• The weights adjust toward
Department of Computer Science | Bahria University
22
A Supervised Neural Network (An
Example)
Department of Computer Science | Bahria University
Unsupervised Learning
• No external factors can
influence adjustment of input’s weights
• No advanced indication of
correct or incorrect answers
• Adjusts through direct
conflict with new
Department of Computer Science | Bahria University
Business Applications (1)
• Risk management
– Evaluate commercial loan applications
– NN trained on thousands of applications, half of
which were approved and the other half rejected by the bank’s loan officers
– Through supervised learning, NN learned to pick
risks that constitute a bad loan
– Identifies loan applicants who are likely to
Department of Computer Science | Bahria University
Business Applications (2)
• Predicting Foreign Exchange Fluctuations:
– A set of relevant indicators were
identified, used as inputs to NN
– NN was trained for exchange rates of US
dollar against Swiss franc and Japanese yen, using data from first 6 months of 1990. Then it was tested over an 8- to 11-week period
– Results revealed return on capital of about
Department of Computer Science | Bahria University
Business Applications (3)
• Advance Evaluations:
– Neural network uses the data in the
advance loan application
– It estimates value of the property based on
the immediate neighborhood, the city, and the country
– The system comes up with a valuation for
the property and a risk analysis for the loan.
Department of Computer Science | Bahria University
Association Rules
• A KB tool that generates a set of
rules to help understanding relationships that exist in data
• Types:
– Boolean rule
– Quantitative rule
– Multi-dimensional rule
Department of Computer Science | Bahria University
Boolean Rule (An Example)
• A rule that examines the
presence or absence of items
• For example, if a customer buys
a PC and a 17” monitor, then he will buy a printer. Presence of items (a PC and 17” monitor)
implies presence of the printer in the customer’s buying list
Department of Computer Science | Bahria University
Quantitative Rule (An Example)
• A rule that considers the
quantitative values of items
• For example, if a customer
earns between $30,000 and $50,000 and owns an
apartment worth between $250,000 and $500,000, he will buy a 4-door automobile
Department of Computer Science | Bahria University
Multi-dimensional Rule
• A rule that refers to a multitude of
dimensions
• If a customer lives in a big city and
earns more than $35,000, then he will buy a cellular phone
• This rule involves 3 attributes:
living, earning, and buying.
Therefore, it is a
Department of Computer Science | Bahria University
Department of Computer Science | Bahria University
Inferences for Knowledge
Management
• Cost / benefit analysis
– Tangible costs - user training, hardware + software, backup, support, maintenance
– Intangible costs - user resistance and learning curve
• Quality Assurance
– Capability of initial design
Department of Computer Science | Bahria University
33
User Interface
(Web browser software installed on each user’s PC)
Authorized access control
(e.g., security, passwords, firewalls, authentication)
Collaborative intelligence and filtering
(intelligent agents, network mining, customization, personalization)
Knowledge-enabling applications
(customized applications, skills directories, videoconferencing, decision support systems,
group decision support systems tools)
Transport
(e-mail, Internet/Web site, TCP/IP protocol to manage traffic flow)
Middleware
(specialized software for network management, security, etc.)
The Physical Layer
(repositories, cables)
Databases Data warehousing
(data cleansing, data mining) Groupware (document exchange, collaboration) Legacy applications (e.g., payroll) 1 2 3 4 5 6 7