Strojové učení
Osnova sekce
-
-
Download the prostate dataset Elements of Statistical Learning: data mining, inference, and prediction. 2nd Edition.
Select only the training part: train=='T' . The target y is the last 'lpsa' column.
Standardize the features X. Fit:
- linear regression
- Lars (n_nonzero_coefs=5)
- lars_path
- enet_path( l1_ratio=0.1)
Compare the results.
-
-
-
Slightly modified slides