Re: [Scikit-learn-general] GridSearch with sample_weights

2013-06-01 Thread Joel Nothman
Ahh and I'd forgotten that 1574 included support in grid search. I should perhaps take a look at that. On Sun, Jun 2, 2013 at 1:10 AM, Andreas Mueller wrote: > On 06/01/2013 01:03 PM, Joel Nothman wrote: > > I haven't seen any patch for this precisely, though it's a known issue > > (even if it d

Re: [Scikit-learn-general] GridSearch with sample_weights

2013-06-01 Thread Andreas Mueller
On 06/01/2013 01:03 PM, Joel Nothman wrote: > I haven't seen any patch for this precisely, though it's a known issue > (even if it doesn't seem to be explicitly ticketed; it's closest to > https://github.com/scikit-learn/scikit-learn/issues/1179). There are > various tricky cases not currently s

Re: [Scikit-learn-general] GridSearch with sample_weights

2013-06-01 Thread Joel Nothman
I haven't seen any patch for this precisely, though it's a known issue (even if it doesn't seem to be explicitly ticketed; it's closest to https://github.com/scikit-learn/scikit-learn/issues/1179). There are various tricky cases not currently supported for which it's easiest to roll your own search

Re: [Scikit-learn-general] GridSearch with sample_weights

2013-05-31 Thread Andreas Mueller
Hi Peter. What you try to achieve is currently not possible afaik There was a branch by Noel to implement this but I'm not sure about it's state. You could give it a shot. Alternatively you can use the IterGrid (or ParameterGrid in the dev version I think) from the grid_search module and write th

[Scikit-learn-general] GridSearch with sample_weights

2013-05-31 Thread Peter Retzlaff
Hello everyone, I'm trying to execute a grid search with the GridSearchCV class (for an AdaBoostClassifier) and want to use a custom sample_weight vector to begin with. However, I can't figure out, how to do this. Passing the parameter to GridSearchCV's fit()-method gives me the message, that t