Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Download diabetes.csv file from modules in canvas. Write a function that will print patient records where BMI is in the interval [ 2 7 ,
Download diabetes.csv file from modules in canvas.
Write a function that will print patient records where BMI is in the interval and outcome is : diabetic, : not diabetic
Create a heat map using seaborn library and list features that are of high importance.
This is a subjective question. You will define high importance and you get a chance cross validate them when we do Principal Component Analysis.
High importance is defined as the value being close to but not equal to Sometimes is of high importance, and other times is important.
Remember to list both features in the matrix that meet high importance criteria.
Using Pandas DataFrames, prepare the data for machine learning. For this you will do the following:
Create diabetesdf a dataframe for entire data
Drop records with missing data empty column values, NaN, etc.
For each command, print # of records removed
Print zero records removed if the condition is not met.
Replace column values where Insulin is with
Print # of records were updated with new data for insulin
Rename column Outcome with Target
Write the updated dataframe after addressing requirements b and c into a new file: diabetesdfcsv we will use this for machine learning
Instructions:
Include comments for each step in the assignment to help us grading your work.
Submit a ipynb and pdf file both files. Don't submit zip file and zip files will not be accepted
diabetes.csv file link.
https:untinstructure.comcoursesfilesdownloaddownloadfrd
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