Diabetic Patient Problem Statement: You work in XYZ Company as a Python Data Scientist. The company officials have collected some data on diabetes based on years of experience and wish for you to create a model from it. Dataset: diabetes.csv Tasks To Be Performed:
- Load the dataset using pandas
- Extract data from outcome column is a variable named Y
- Extract data from every column except outcome column in a variable named X
- Divide the dataset into two parts for training and testing in 70% and 30% proportion
- Create and train Naïve Bayes Model on training set
- Make predictions based on the testing set using the trained model
- Check the performance by calculating the confusion matrix and accuracy score of the model