Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

Which supplier did the company purchase the most from?

Answered: 1 week ago

Question

Would management want these numbers to be higher or lower?

Answered: 1 week ago

Question

What do you consider abnormally high? Are these suspicious?

Answered: 1 week ago