The ParameterGrid object is created before the jobs are run, so it would be
trivial to move this object creation up, calculate the number of jobs and
output it. Happy to take a PR.


On 10 July 2013 08:57, Joel Nothman <jnoth...@student.usyd.edu.au> wrote:

> The number of jobs is actually len(ParameterGrid(search.param_grid)) *
> len(check_cv(search.cv)), and I think this should be output at the start
> of the search if verbose >= 1, and perhaps should also be calculated by
> some method, so a user can estimate the time before finalising the grid...
>
> - Joel
>
>
>
> On Wed, Jul 10, 2013 at 8:50 AM, Robert Layton <robertlay...@gmail.com>wrote:
>
>> Hi Josh,
>>
>> This is decided by the param_grid that you give it. The actual internals
>> is handled by the ParameterGrid class (
>> http://scikit-learn.org/dev/modules/generated/sklearn.grid_search.ParameterGrid.html
>>  ).
>>
>> The example on that page shows how you could calculate the number of runs
>> based on your parameter set.
>>
>> Thanks,
>>
>> Robert
>>
>>
>>
>> On 10 July 2013 08:44, Josh Wasserstein <ribonucle...@gmail.com> wrote:
>>
>>> Hi there,
>>>
>>> Prior to running clf.fit(X,y) with GridSearchCV is there any easy/direct
>>> way to know how many jobs will GridSearchCV run? (i.e. the total number of
>>>  parameter combinations in  the grid search)
>>>
>>> Josh
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Scikit-learn-general mailing list
>>> Scikit-learn-general@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>>
>>>
>>
>>
>> --
>>
>> Public key at: http://pgp.mit.edu/ Search for this email address and
>> select the key from "2011-08-19" (key id: 54BA8735)
>>
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Scikit-learn-general mailing list
>> Scikit-learn-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>


-- 

Public key at: http://pgp.mit.edu/ Search for this email address and select
the key from "2011-08-19" (key id: 54BA8735)
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to