On 03/05/2013 11:12 AM, Olivier Grisel wrote:
> This looks good. Maybe we could reintroduce a canonical snippet on the
> home page:
>
>>>> from sklearn.datasets import load_digits
>>>> from sklearn.cross_validation import train_test_split
>>>> from sklearn.svm import LinearSVC
>>>> digits = load_digits()
>>>> X_train, X_test, y_train, y_test = train_test_split(
> ...     digits.data, digits.target, random_state=42)
> ...
>>>> LinearSVC().fit(X_train, y_train).score(X_test, y_test)
> 0.966...
>
> And then a link to the short tutorial.
>
Good Idea. I really have to start working on my slides now, though ;)

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to