Re: [Scikit-learn-general] Metric Learning Algorithms

2013-05-14 Thread Robert McGibbon
John, What's the best way to work on a collaborative project like this? I've never tried working on a PR w/ multiple authors in git. Do you want to set up a new github project for this during development? -Robert On May 14, 2013, at 10:27 PM, John Collins wrote: > Hi there, > > A few weeks

[Scikit-learn-general] Metric Learning Algorithms

2013-05-14 Thread John Collins
Hi there, A few weeks ago I posted about this. I have been finishing my thesis and working concurrently and have had no free time but now I have some to commit to this. At that point Kenneth C. Arnold and Robert McGibbon mentioned they were also interested. I've done a bit of translation of a piec

Re: [Scikit-learn-general] Macro and micro weighting in performance metrics

2013-05-14 Thread Gael Varoquaux
> So as it says, giving 'pos_label' explicitly solves the issue. I will > now check the code more thoroughly to understand why the default value > for pos_label (which is 1) cannot be used while calculating averages in > a binary classification. Excellent. Keep us posted!

Re: [Scikit-learn-general] Naming a mixin for feature selectors

2013-05-14 Thread Andreas Mueller
On 05/14/2013 04:52 PM, Gael Varoquaux wrote: > On Tue, May 14, 2013 at 06:54:32AM +1000, Joel Nothman wrote: >> Should the new SelectorMixin be part of the public API? > I don't think so. > None of the Mixins is. -- Alien

Re: [Scikit-learn-general] Macro and micro weighting in performance metrics

2013-05-14 Thread Pavel Soriano
I was checking the blame for the file, and I found that the current file in github has an explanation for this: average : string, [None (default), 'micro', 'macro', 'weighted'] If ``None``, the scores for each class are returned. Otherwise, unless ``pos_label`` is given in binary classification,

Re: [Scikit-learn-general] Macro and micro weighting in performance metrics

2013-05-14 Thread Gael Varoquaux
On Mon, May 13, 2013 at 10:41:31PM +, Pavel Soriano wrote: > In Manning's Introduction to Information Retrieval (pg. 260)  they show > it is possible to obtain it.(In fact I modified this line, in metrics.py, and > the value was indeed returned, after a macro averaging.) > I guess I am missing

Re: [Scikit-learn-general] Naming a mixin for feature selectors

2013-05-14 Thread Gael Varoquaux
On Tue, May 14, 2013 at 06:54:32AM +1000, Joel Nothman wrote: > Should the new SelectorMixin be part of the public API? I don't think so. G -- AlienVault Unified Security Management (USM) platform delivers complete secur

[Scikit-learn-general] Macro and micro weighting in performance metrics

2013-05-14 Thread Pavel Soriano
I am currently assessing the performance of a logit classifier, and I wonder why is the “average” option, for the F-score metric, is not taken into account when using a binary classifier. I am talking about line 1091 of metrics.py (sklearn.metrics): elif n_labels == 2 and pos_label is not None:

Re: [Scikit-learn-general] RidgeCV

2013-05-14 Thread Jaques Grobler
Hi Evan, Did looking at RidgeCVInstance.alpha_ solve this for you? Regads, Jaques 2013/5/13 Tadej Janež > Hi Evan, > > On Wed, 2013-05-08 at 14:03 -0400, Evan Molinelli wrote: > > > At the end of the day it seems to work and can retrieve the list of > > feature weights. HOWEVER, i am unable t

Re: [Scikit-learn-general] 'positive' option in LassoCV?

2013-05-14 Thread Jaques Grobler
Added to my todo-list ;) 2013/5/13 Alexandre Gramfort > PR welcome on this. I think Jaques you have it ready. > > Best, > Alex > > On Tue, May 7, 2013 at 11:42 AM, Jaques Grobler > wrote: > > > > > >> > >> 2013/5/7 James D Jensen > >> Thanks. You mentioned that I could "[add] positive to Lass