Re: [Scikit-learn-general] decision_function for NearestCentroid classifier

2012-03-28 Thread Andreas
On 03/28/2012 06:18 PM, Lars Buitinck wrote: > Hi all, > > I just suggested [1] adding a decision_function to @robertlayton's new > NearestCentroid classifier and tried to implement one, but I got stuck > on the binary case. In the multiclass case, the decision function is > simple: it would be > >

[Scikit-learn-general] decision_function for NearestCentroid classifier

2012-03-28 Thread Lars Buitinck
Hi all, I just suggested [1] adding a decision_function to @robertlayton's new NearestCentroid classifier and tried to implement one, but I got stuck on the binary case. In the multiclass case, the decision function is simple: it would be D = -pairwise_distances(X, self.centroids_, metric=sel

Re: [Scikit-learn-general] K-means Clustering 3D-plots not generating on /dev/ docs

2012-03-28 Thread Gael Varoquaux
On Wed, Mar 28, 2012 at 05:46:54PM +0300, Vlad Niculae wrote: > Maybe I'm missing something, but shouldn't there be a pl.show() at the end, > instead of the commented out savefig call? There should. It should still work without, though. G

Re: [Scikit-learn-general] K-means Clustering 3D-plots not generating on /dev/ docs

2012-03-28 Thread Vlad Niculae
Maybe I'm missing something, but shouldn't there be a pl.show() at the end, instead of the commented out savefig call? Vlad On Mar 28, 2012, at 12:01 , Andreas wrote: > On 03/28/2012 11:04 AM, Jaques Grobler wrote: >> Hi everyone.. >> >> I noticed that the the K-means Clustering plots on the s

Re: [Scikit-learn-general] K-means Clustering 3D-plots not generating on /dev/ docs

2012-03-28 Thread Andreas
On 03/28/2012 11:04 AM, Jaques Grobler wrote: > Hi everyone.. > > I noticed that the the K-means Clustering plots on the statistical > inference tutorial is not displaying: > > http://scikit-learn.org/dev/tutorial/statistical_inference/unsupervised_learning.html > > Weird thing is that they genera

[Scikit-learn-general] K-means Clustering 3D-plots not generating on /dev/ docs

2012-03-28 Thread Jaques Grobler
Hi everyone.. I noticed that the the K-means Clustering plots on the statistical inference tutorial is not displaying: http://scikit-learn.org/dev/tutorial/statistical_inference/unsupervised_learning.html Weird thing is that they generate perfectly if I build the docs on my setup.. They also dis

Re: [Scikit-learn-general] Coordinated descent in linear models beyond squared loss GSOC

2012-03-28 Thread Olivier Grisel
Le 28 mars 2012 09:04, Alexandre Gramfort a écrit : > hi Immanuel, > > glad to hear about your interest. > > to contribute a quick patch to the coordinate descent code what do you think > of adding the positivity constraint to Lasso and ElasticNet? > > the idea is to accept an update a coef only i

Re: [Scikit-learn-general] Coordinated descent in linear models beyond squared loss GSOC

2012-03-28 Thread Alexandre Gramfort
hi Immanuel, glad to hear about your interest. to contribute a quick patch to the coordinate descent code what do you think of adding the positivity constraint to Lasso and ElasticNet? the idea is to accept an update a coef only if the value is positive. the loop concerned is this one: https:/