Optimization problem with (Convex) Quadratic Objective. and linear inequality constraints.

Standard Form:

Minimize , which is a quadratic function.

subject to

d doesn’t change the opimization problem (only change value)

solver = quadprog(H, c, d, A, b)

Convexity H is PSD (not just symmetric).


Examples of QP

1. Least Square is a quadratic Programming

expand the objective function.

Pattern match with standard form:

No constraints in regular Least Squares.


2. Linearly Constraint Least Square.


3. LASSO (l1 regularized least squares)

Formulate this as quadratic program.

Can convert this into standard form: check picture.

the is lagrange mulitpliers. incoporitng constraints into objective functions.


l1 regularization encourages sparsity of the solution. Why?

cardinality(x) = # of non-zero entries in x vector. (non-convex constraint and hard to deal with).

so l1 regularization is like solving l2 regularization with the sparsity constraint. (cardinality of x k)

is a Lagrange multiplier - meaning that problem 3 (LASSO) is equivalent to for suitable . (still hard to solve). relaxation.

if lambda is big, cardinality will be small.

if lambda is small (0), don’t care cardinility.

lambda = penalizaing / costing for not obeying the constraints.

Holder’s inequality:

Relax Constrained problem.

submit homework 3

8.1

8.4 and 8.5 (features) Record your optimum prediction rate in your write-up and include your Kaggle

username. Don’t forget to use the “submissions” tab or link on Kaggle to select your best

submission!