Posts

Showing posts with the label Bayesian Network

MACHINE LEARNING USING PYTHON LAB

  MACHINE LEARNING USING PYTHON LAB Course Outcomes: At the end of the course the student should be able to: 1.      Select data, model selection, model complexity and identify the trends. 2.      Understand a range of machine learning algorithms along with their strengths and weaknesses. 3.      Build predictive models from data and analyze their performance. List of Experiments WEEK 1 : a)      Write a program using scikit-learn to implement K-means Clustering b)      Program to calculate the entropy and the information gain c)      Program to implement perceptron. WEEK 2: ·        Implement and demonstrate the FIND-S algorithm for finding the most specific hypothesis based on a given set of training data samples. Read the training data from a .CSV file. WEEK 3: ·        Fo...

WEEK 6- Write a program to construct a Bayesian network considering medical data. Use this model to demonstrate the diagnosis of heart patients using a standard Heart Disease Data Set.

Image
WEEK 6:   Write a program to construct a Bayesian network considering medical data. Use this model to demonstrate the diagnosis of heart patients using a standard Heart Disease Data Set. Theory A Bayesian network is a directed acyclic graph in which each edge corresponds to a conditional dependency, and each node corresponds to a unique random variable. Bayesian network consists of two major parts: a directed acyclic graph and a set of conditional probability distributions ·         The directed acyclic graph is a set of random variables represented by nodes. ·         The conditional probability distribution of a node (random variable) is defined for every possible outcome of the preceding causal node(s). For illustration, consider the following example. Suppose we attempt to turn on our computer, but the computer does not start (observation/evidence). We would like to know which of the possible causes of comput...