2013/7/10 Josh Wasserstein <ribonucle...@gmail.com>:
> Thanks Robert and everyone else. I am still having a strange problem with
> GridSearchCV with 0.14-git. Even though the number returned by
>
> ===================================
> len(list(ParameterGrid(tuned_parameters)))
> ===================================
>
> is 191,880,  my call to:
>
> ===================================
> skf = StratifiedKFold(y,4)
> clf = GridSearchCV(SVC(C=1, cache_size=5000), tuned_parameters,
> scoring=score_name,verbose=1, n_jobs=1, cv=skf)
> clf.fit(X,y)
> ===================================
>
> reports 661,250 jobs after 14 minutes (and it keeps going). Below are the
> parameters that I am using:

Well this is to be expected, your grid is very fine-grained:

>>> np.arange(-18,18, 0.5).shape
(72,)

You should really start with a coarse-grained grid with np.logspace or
use a RandomizedSearchCV with fixed budget.

--
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
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