Re: [Scikit-learn-general] Print coordinate descent coefficients at each iteration

2014-09-04 Thread Alberto Torres
with gil: print("something with gil") That seems to work. What doesn't is to get the GIL for the whole algorithm (it compiles without errors but messes up the algorithm) Un saludo, Alberto On Mon, Sep 1, 2014 at 5:36 PM, Danny Sullivan wrote: > Hey Alberto, > > Try > > with gil: > p

[Scikit-learn-general] Print coordinate descent coefficients at each iteration

2014-09-01 Thread Alberto Torres
Hi, I would like to print the coordinate descent coefficients at each iteration. So far I've identified the code and variable I want to print. In particular I want to print the variable *w* in function *enet_coordinate_descent* from *cd_fast.pyx*. The problem is I do not have any previous experien