Algorithm · Atlassian · Medium
You are given two comma-separated value files: a training set x and a test set x_test. Both files contain seven columns. The first column holds the binary label y (values 0 or 1), and the next six columns (f1 through f6) are continuous numerical features. Using Python (scikit-learn) or R (glmnet), write code to accomplish the following: Load the data: set X_train to columns 2–7 of x, y_train to column 1, X_test to columns 2–7 of x_test, and y_test to column 1. Perform basic…
Checking your access…