Question
You are applying for a position at the data science team of USDA and you are given data associated with determining appropriate parasite treatment of
You are applying for a position at the data science team of USDA and you are given data associated with determining appropriate parasite treatment of canines. The suggested treatment options are determined based on a logistic regression model that predicts if the canine is infected with a parasite. The data is given on the site: https://data.world/ehales/grls-parasite-study/workspace/file?filename=CBC_data.csv and more specifically in the CBC_data.csv file. Your target variable column is titled parasite_status.
Question 6 - SGD (15 points) The interviewer was impressed with your answers and wants to test your programming skills. Use the dataset to train a logistic regressor that will predict the target variable . Report the harmonic mean of precision (p) and recall (r) i.e the metric called 1 score that is calculated as shown below using a test dataset that is 20% of each group. Plot the 1 score vs the iteration number . 1=2/1+1 Your code includes hyperparameter optimization of the learning rate and mini-batch size.
Need code for the above question using the data set https://data.world/ehales/grls-parasite-study/workspace/file?filename=CBC_data.csv
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