Quick question:

Is there an easy way to impose a-priori that certain coefficients returned
by a linear regression should be 0?  The reason I can't simply drop the
relevant rows from the X matrix, is because I'm solving a problem of type:

AX + B = 0

Where X and B are [n,m] matrix, and I am solving for A, where I would
like to impose that the diagonal of A is all 0s.

Federico
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to