Coder Social home page Coder Social logo

beliefpropagation's Introduction

BeliefPropagation

Belief Propagation over a Bayesian Network

Belied Propagation: If there is a variable X in a cluster and it carries its own belief of the variable X and even it applies to other clusters having X. There exists a unique path between such clusters. If X is changed in one of the clusters we can verify how it will affect in other clusters as there exists a path and each cluster starts updating the new belief of X and act accordingly and we can verify the new probability of the cluster and determines predictions.

Packages Used: gRain, igraph, ggm Dataset: Coronary artery disease data Methods: dSep, cptable, grain, compileCPT, extractCPT, setFinding, getFinding, querygrain, simulate.grain

Goal: Construct the network, identify nodes that are d-separable, structure learning and parameter learning and then belied propagation and then simulation of the model over a data to verify results and to make predictions.

Newly created functions: ffinddsepingraph- function which returns all possible d-separations in the given input graph

CAD dataset contains 14 columns but we will use just 6 columns to create a network and check belief propagation

Outcome of 500 observations: Probability of Heart Failure โ€“ 46% Probability of CAD - 55%

Observation: Predicted data for 25 observations and 500 observations is nearly same at least for CAD. With graphical modelling, structure and parameter learning and belief propagation we can predict the results which is nearly to reality. Predicted results can be put into use to device action plan for public safety measures or raising awareness of high cholesterol levels in females and national nutrition can work out dietary plan.

beliefpropagation's People

Contributors

anand-gith avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.