Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Below is given the link for a data set from the UCI ML repository. Caesarian Section Classification Dataset https://archive.ics.uci.edu/ml/datasets/Caesarian+Section+Classification+Dataset Download the data set. You are
Below is given the link for a data set from the UCI ML repository.
Caesarian Section Classification Dataset
https://archive.ics.uci.edu/ml/datasets/Caesarian+Section+Classification+Dataset
Download the data set. You are required to do the following:
Question 1: Python
- Construct a Bayesian Belief Network for the given data.
Use appropriate methods to predict the following:
- Predict the probability of a patient having the following properties : Age is 22,first delivery with delivery time 2 and with no heart problem or blood pressure and having normal delivery
- Predict the type of delivery for the lady with the following characteristics: Age is 26, admitted for second delivery with time of delivery 0, having blood pressure and no heart problem.
- Infer the probability for the data : Age: 36, 4th delivery, with time of delivery 1 and has blood pressure and no heart problem to have normal delivery.
Question 2: Prolog
- Use Any of the decision tree algorithms to build a decision tree for the given data
- Create rules from the decision tree.
- Code the rules into a Prolog Knowledge base
- Get user data as input and give the type of delivery as output.
Topics
1. Bayesian Belief Networks
2. Prolog
INSTRUCTIONS:
- You are required to submit three files
- The executable python code for Bayesian inference.
- The executable Prolog file.
- A word file containing all the theory part wherever necessary to describe your approach and algorithms.
- Do not include text in the coding except comments. Coding must be readily executable.
- Wherever necessary pre-process the data as required by the implementation.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started