1 / 15

Recitation4 for BigData

Recitation4 for BigData. LASSO and Coordinate Descent. Jay Gu Feb 7 2013. A numerical example. Generate some synthetic data:. N = 50 P = 200 # Non zero coefficients = 5 X ~ normal (0, I) beta_1, beta_2, beta_3 ~ normal (1, 2) sigma ~ normal(0, 0.1*I) Y = Xbeta + sigma

dionne
Download Presentation

Recitation4 for BigData

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Recitation4 for BigData LASSO and Coordinate Descent Jay Gu Feb 7 2013

  2. A numerical example Generate some synthetic data: N = 50 P = 200 # Non zero coefficients = 5 X ~ normal (0, I) beta_1, beta_2, beta_3 ~ normal (1, 2) sigma ~ normal(0, 0.1*I) Y = Xbeta + sigma Split training vs testing: 80/20

  3. Practicalities • Standardize your data: • Center X, Y • remove the intercept • Scale X to have unit norm at each column • fair regularization for all covariates • Warm start. Run Lambdas from large to small, • Starting from the largest lambda to be max(X’y) • Guarantees to have zero support size.

  4. Algorithm Ridge Regression: Closed form solution. LASSO: Iterative algorithms: Subgradient Descent Generalized Gradient Methods (ISTA) Accelerated Generalized Gradient Methods (FSTA) Coordinate Descent

  5. SubdifferentialsCoordinate Descent • Slides from Ryan Tibshirani http://www.cs.cmu.edu/~ggordon/10725-F12/slides/06-sg-method.pdf http://www.cs.cmu.edu/~ggordon/10725-F12/slides/25-coord-desc.pdf

  6. Coordintate Descent: always find global optimum? • Convex and differentiable? Yes • Convex and non-differentiable? No

  7. Convex but separable non-differentiable parts? • Yes. Proof:

  8. CD for Linear Regression

  9. Rate of Convergence? • Assuming gradient is Lipchitz continuous. • Subgradient Descent: 1/sqrt(k) • Gradient Descent: 1/k • Optimal rate for first order methods: 1/(k^2) • Coordinate Descent: • Only know for some special cases

  10. Summary: Coordinate Descent • Good for large P • No tuning parameter • In practice converge much faster than the optimal first order methods • Only applies to certain cases • Unknown convergence rate for general function classes

More Related