Professional Documents
Culture Documents
Week Six 16 PDF
Week Six 16 PDF
Wester Zela
Week Six
edzela@yahoo.com
www.ssyspe.org
Agenda
• Bayesian Network
• Examples: Cervical Spondylotic Myelophaty (CSM)
• Test
• Bayesian Network in Weka
• Bayesian Network in Rstudio
• Home Work
Bayesian Network
• It can be referred as probabilistic directed acyclic graphical (DAG)
model, Bayes Network, Belief Network, or Bayesian Model.
• Based on a set of variables connected, it’s possible to predict
outcomes based on probabilities. The resulting value of one variable
will influence the output probability of another, hence the use of
networked nodes.
• A Bayesian Network manages to combine probability theory with
graph theory and provides a very handy method for dealing with
complexity and uncertainty.
A little graph theory
• Nodes and edges are connected.
• Calculating:
• P(R=T|Y=F) = ?
Calculating results
• From a probability:
• When Hose = True
• p(Y=True, H=True, R=True)
• p(Y=True|H=True, R=True) x p(H=True|R=True) x p(R=True)
• 0.99 (Y=T, H=T, R=T) x 0.01 (H=T, R=T) x 0.2 (R=T) = 0.00198
• When Hose = False
• p(Y=True, H=False, R=True)
• p(Y=True|H=False, R=True) x p(H=False|R=True) x p(R=True)
• 0.8 (Y=T, H=F, R=T) x 0.99 (H=F, R=T) x 0.2 (R=T) = 0.1584
Calculating Results
• T,T,T is 0.00198
• TFT is 0.1584
• T,T,F is 0.9 x 0.4 x 0.8 = 0.288
• T,F,F is 0.0 x 0.6 x 0.8 = 0.0
1580 12.5 3
1565 12 3
1368 9 2
1563 4.5 1
1568 4.5 1
1571 4.5 1
1579 4.5 1
1566 2.5 0
1567 2.5 0
1569 2.5 0
1578 2.5 0
1564 2 0
1570 2 0
Paper of Week
• Predicting the prognosis of breast cancer by integrating clinical and
microarray data with Bayesian networks, Olivier Gevaert, Frank De
Smet, Dirk Timmerman, Yves Moreau and Bart De Moor;
BioInformatics.
References
• Machine Learning, Hands-On for Developers andTechnical Professionals, Jason
Bell, Willey.
• Machine Learning in Action, Peter Harrington, Manning Shelter Island
• Machine Learning Projects for .NET developers, Mathias Brandewinder, Apress