Variable Selection for Sparse Logistic Regression Assignment

Download Solution Order New Solution

Assignment Task

1. Implement the FSA variable selection method for linear models and binary classification with the logistic loss, as described in the slides. Use the parameters s =0.001,μ = 100,Niter = 300. Take special care to normalize each column of the X matrix to have zero mean and variance 1 and to use the same mean and standard deviation that you used for normalizing the train set also for normalizing the test set.

a. Using the Gisette data, train a FSA classifier on the training set, starting with β(0)= 0 to select k ∈ {10,30,100,300,500} features. Plot the training loss vs iteration number for k = 300. Report in a table the misclassification errors on the training and test set for the models obtained for all these k. Plot the misclassification error on the training and test set vs k. Also plot the train and test ROC curves of the obtained model with 300 features. 

b. Repeat point a) on the dexter dataset.

c. Repeat point a) on the Madelon dataset.

This Management has been solved by our PHD Experts at My Uni Paper.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.