Re: [Scikit-learn-general] Get Other Classification Metrics For GridSearch

2015-05-17 Thread Adam Goodkind
Hi Andy, I'm following up on this from a while ago, because I finally got around to trying to implement it. To get the minority f1 score from my grid search, I have: min_f_scorer = make_scorer(f1_score(pos_label=1)) grid_search = GridSearchCV(pipeline, parameters, verbose=1, cv=3,

[Scikit-learn-general] Grid search error

2015-05-17 Thread Jitesh Khandelwal
I have recently been using grid search to evaluate a custom method for dimensionality reduction (DR) along with supervised and unsupervised estimators later in the pipeline to discover its usefulness. gr = grid_search.GridSearchCV( ​pipeline , param_grid, cv = None) ​The scoring functions I used

Re: [Scikit-learn-general] Grid search error

2015-05-17 Thread Joel Nothman
Sorry, I meant https://github.com/scikit-learn/scikit-learn/issues/4301 On 18 May 2015 at 12:10, Joel Nothman joel.noth...@gmail.com wrote: Sorry, grid search (and similar) does not support clusterers. This probably should be formally tracked as an issue.

Re: [Scikit-learn-general] Grid search error

2015-05-17 Thread Joel Nothman
Sorry, grid search (and similar) does not support clusterers. This probably should be formally tracked as an issue. https://github.com/scikit-learn/scikit-learn/issues/4040 might be helpful to you. On 18 May 2015 at 11:56, Jitesh Khandelwal jk231...@gmail.com wrote: I have recently been using

Re: [Scikit-learn-general] Divisive Hierarchical Clustering

2015-05-17 Thread Joel Nothman
Hi Sam, I think this could be interesting. You could allow for learning parameters on each sub-cluster by accepting a transformer as a parameter, then using sample = sklearn.base.clone(transformer).fit_transform(sample). I suspect bisecting k-means is notable enough and different enough for