Re: [Scikit-learn-general] Fine tuning parameters of Multi label classification

2016-01-03 Thread Startup Hire
Providing the full StackTrace here:[ code in previous email] # Tuning hyper-parameters for precision () ---ValueError Traceback (most recent call last) in () 18 scoring='%s_weighte

Re: [Scikit-learn-general] LASSO, Constrained coefficient matrix with some independent elements

2016-01-03 Thread Doaa Altarawy
Hi, I had almost the same problem you have. I had a subset of the features believed to be the true features but with unknown coefficients. The other features may or may not be involved. There is a way to do it by reducing the penalty term of the selected features, or even make it close to zero. T

Re: [Scikit-learn-general] LASSO, Constrained coefficient matrix with some independent elements

2016-01-03 Thread Alexandre Gramfort
On Sun, Jan 3, 2016 at 6:25 AM, Guoqiang Lan, Mr wrote: > But it seem to be not possible to define such a constrained coefficient > matrix in "sklearn". Am I right? indeed. You'll need to recode. sklearn lasso only works with in memory ndarray or sparse matrices. A