Question: Part 2 - Build Logistic Regression method for low birth weight data Use the lowbtwt.csv data that you downloaded from Assignment 2 folder to build

Part 2 - Build Logistic Regression method for low birth weight data Use the lowbtwt.csv data that you downloaded from Assignment 2 folder to build the logistic regression model in a new notebook. Required Notebook Content Markdown cell with the dataset description at the top of the notebook Table of contents Code to load the necessary packages Credentials, Write a parsing function for the new data by carefully considering what the input variables should be and what the training target variable should be. Data exploration and visualization prior to running logistic regression. Include the histogram for the age variable, the frequency counts for the target variable, and the plots/frequency tables to check which variable could be a predictor for the target variable. Split the data into a training and test set Use the training set to build the logistic regression model. Tabulate the predicted and actual outcome Evaluate the model on the test set. Tabulate the predicted and actual outcome for the test set. The precision, recall, and F-measure for the training and test set. Roc curve plot Markdown cells with comments on what the code does

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!