Question: Ques. Generative methods vs Discriminative methods (50 points) Please download the breast cancer data set from UCI Machine Learning repository. Do not use any package/tool

Ques. Generative methods vs Discriminative methods (50 points) Please download the breast cancer data set from UCI Machine Learning repository. Do not use any package/tool for implementing the algorithms; You can use packages for matrix/vector operations and data processing.

1. (20 pts) Implement a logistic regression classifier with maximum likelihood (ML) estimator using Stochastic gradient descent and Mini-Batch gradient descent algorithms. Divide the data into training and testing. Choose a proper learning rate. Use cross-validation on the training data to choose the best model and report the recall, precision, and accuracy on malignant class prediction (class label malignant is positive) on the test data using the best model. Write down each step of your solution.

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 Databases Questions!