This documentation is for scikit-learn version 0.11-gitOther versions

Citing

If you use the software, please consider citing scikit-learn.

This page

2.2.3.3.2.1. Exercise: setting sparsity on diabetes

"""
===============================================
Cross-validation on diabetes Dataset Exercise
===============================================

This exercise is used in the
:ref:`cv_estimators_tut` part of the 
:ref:`model_selection_tut` section of the
:ref:`stat_learn_tut_index`.
"""
print __doc__
import numpy as np
import pylab as pl

Solution: ../../auto_examples/exercises/plot_cv_diabetes.py