rsmile an interface to the bayesian network package genie
play

rSMILE, an interface to the Bayesian Network package GeNIe/SMILE - PowerPoint PPT Presentation

rSMILE, an interface to the Bayesian Network package GeNIe/SMILE Roman Klinger, Christoph M. Friedrich { klinger,friedrich } @scai.fraunhofer.de July 9, 2009 Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications


  1. rSMILE, an interface to the Bayesian Network package GeNIe/SMILE Roman Klinger, Christoph M. Friedrich { klinger,friedrich } @scai.fraunhofer.de July 9, 2009

  2. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Outline Bayesian Networks 1 Existing Implementations 2 3 GeNIe/SMILE 4 rSMILE Applications 5 Acknowledgements 6 Christoph M. Friedrich, Roman Klinger – rSMILE 2/17

  3. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Full joint Distribution Given boolean variables Burglary , Earthquake , Alarm , JohnCalls , MaryCalls Full joint distribution P ( b, e, a, j, m ) has 2 5 combinations of input variables ⇒ Not intuitive ⇒ No causal interpretation Stuart Russell and Peter Norvig Artificial Intelligence – A Modern Approach . Prentice Hall, 2003. Christoph M. Friedrich, Roman Klinger – rSMILE 3/17

  4. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Bayesian Networks for full joint distribution Decomposition of a given probability distribution: b e P ( b, e, a, j, m ) = P ( b ) P ( e | b ) P ( a | b, e ) a P ( j | b, e, a ) P ( m | b, e, a, j ) because of chain rule j m n � P ( x 1 , . . . , x n ) = P ( x i | x i − 1 , . . . , x 1 ) i =1 Christoph M. Friedrich, Roman Klinger – rSMILE 4/17

  5. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Bayesian Networks with independence assumption Assume independences: b Earthquake independent of e Burglary JohnCalls , MaryCalls independent of Burglary , a Earthquake MaryCalls independent of j JohnCalls given the Alarm m Manually built network P ( b, e, a, j, m ) = Simple, easy to interpret P ( b ) P ( e ) P ( a | b, e ) P ( j | a ) P ( m | a ) 10 numbers instead of 32 Christoph M. Friedrich, Roman Klinger – rSMILE 5/17

  6. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Bayesian Networks Requirements for implementations Manual Generation of Network possible Learning of Parameters Structure Visualization Facilities Testing of single data points Interactive Use Evaluation of data sets Training and Evaluation on *nix machines High-performing Implementation Christoph M. Friedrich, Roman Klinger – rSMILE 6/17

  7. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Existing Implementations gR combining of several packages including deal Learning Bayesian networks with mixed (discrete and continuous) variables gRain Implements propagation in graphical models BUGS Bayesian inference Using Gibbs Sampling MIM,mimR Mixed Interaction Modeling - a Windows program for graphical modeling TETRAD The TETRAD project: causal models and statistical data Søren Højsgaard Graphical Models in R (gR) http://www.ci.tuwien.ac.at/gR/ Claus Dethlefsen and Søren Højsgaard A Common Platform for Graphical Models in R : The g R base Package Journal of Statistical Software, 14 (17), 2005 Christoph M. Friedrich, Roman Klinger – rSMILE 7/17

  8. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Existing Approaches in R – BUGS Bayesian inference Using Gibbs Sampling Graphical User Interface (winBUGS) for Windows (runs on Wine) Own Language (“Bugs Language”) Usable in R (“BRugs”) Complex, variety of versions available The BUGS Project http://www.mrc-bsu.cam.ac.uk/bugs/ OpenBUGS http://mathstat.helsinki.fi/openbugs/ Christoph M. Friedrich, Roman Klinger – rSMILE 8/17

  9. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Existing Approaches in R – TETRAD Causal Models and Statistical Data Program for creating and testing in models Active development Pure Java Looks promising ( unknown to us at project time ) No R interface Peter Spirtes, Clark Glymour and Richard Scheines The TETRAD Project http://www.phil.cmu.edu/projects/tetrad/ Christoph M. Friedrich, Roman Klinger – rSMILE 9/17

  10. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements GeNIe/SMILE GeNIe (Graphical Network Interface) as a user-friendly GUI (Windows, *nix with Wine) SMILE (Structural Modeling, Inference, and Learning Engine) as a cross-platform library Closed Source, but freely usable, even commercially Successfully applied in many publications Decision Systems Laboratory GeNIe & SMILE, University of Pittsburgh http://genie.sis.pitt.edu/ Christoph M. Friedrich, Roman Klinger – rSMILE 10/17

  11. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements GeNIe/SMILE GeNIe (Graphical Network Interface) as a user-friendly GUI + Parameter learning algorithms (Windows, *nix with Wine) + Structure learning algorithms SMILE (Structural Modeling, + Background knowledge Inference, and Learning Engine) usable as a cross-platform library + Interactive use intuitive Closed Source, but freely + High Performance usable, also commercially + Automatic graph layout Successfully applied in many publications − Only discrete variables Decision Systems Laboratory − Evaluation possibilities limited GeNIe & SMILE, University of Pittsburgh ⇒ Interface to R http://genie.sis.pitt.edu/ Christoph M. Friedrich, Roman Klinger – rSMILE 11/17

  12. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements rSMILE (1) GeNIe Interface from R to SMILE Based on jSMILE, the existing Java Native Interface to SMILE Model Files Based on rJava Features structure, parameter SMILE learning jSMILE Evaluation possibilities Combines GeNIe’s intuitive rJava graphical interface with R ’s comprehensive scriptability R Christoph M. Friedrich, Roman Klinger – rSMILE 12/17

  13. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements rSMILE (2) Features Large networks processable (130 nodes tested) Enhancement of SMILE-based Grow/Shrink algorithm to include background knowledge Issues of rJava Error/Exception Handling Static parameters for JVM (first come → first serve) Availability Give us some time for code cleanup (until approx. September ++ ) Christoph M. Friedrich, Roman Klinger – rSMILE 13/17

  14. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Interactions in Genome Wide Association Studies Christoph M. Friedrich, Roman Klinger – rSMILE 14/17

  15. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements International Study on Aneurysm Treatment Molyneux, A. J.; Kerr, R. S. C.; Yu, L.; Clarke, M.; Sneade, M.; Yarnold, J. A. and Sandercock, P. International subarachnoid aneurysm trial (ISAT) of neurosurgical clipping versus endovascular coiling in 2143 patients with ruptured intracranial aneurysms: a randomised comparison of effects on survival, dependency, seizures, rebleeding, subgroups, and aneurysm occlusion ⇒ Live Demo Lancet, 2005, 366, 809-817 Christoph M. Friedrich, Roman Klinger – rSMILE 15/17

  16. Outline Bayesian Networks Existing Implementations GeNIe/SMILE rSMILE Applications Acknowledgements Acknowledgements Thanks to Our co-workers: Martin Hofmann-Apitius, Beibei Han ISAT Consortium, Partners at @neurIST, especially Roelof Risselada This work has been partially funded in the framework of the European integrated project @neurIST, which is co-financed by the European Commission through the contract no. IST-027703 (see http://www.aneurist.org ) Christoph M. Friedrich, Roman Klinger – rSMILE 16/17

  17. Thank YOU for your attention! Questions? Remarks?

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend