Please make sure you call fit() first, as in
http://scikit-learn.org/stable/auto_examples/model_selection/grid_search_digits.html


On 24 July 2014 02:07, Pagliari, Roberto <[email protected]> wrote:

> I’m getting this error when trying to predict using the result of grid
> search with LinearSVC.
>
>
>
> However, according to the documentation (
> http://scikit-learn.org/stable/modules/generated/sklearn.grid_search.GridSearchCV.html)
> the predict method should be available.
>
>
>
> Has it been implemented or should I do it in a different manner?
>
>
>
> Thank you,
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to