November 2017
Intermediate to advanced
1035 pages
11h 31m
English
To borrow from Gilbert Strang's evaluation of the Gaussian elimination, LARS is an idea you probably would've considered eventually had it not been discovered previously by Efron, Hastie, Johnstone, and Tibshiriani in their works[1].
Least-angle regression (LARS) is a regression technique that is well suited for high-dimensional problems, that is, p >> n, where p denotes the columns or features and n is the number of samples.
First, import the necessary objects. The data we use will have 200 data points and 500 features. We'll also choose a low noise and a small number of informative features:
>>> from sklearn.datasets import make_regression >>> reg_data, ...
Read now
Unlock full access