Module Expr Str Print NameLoad ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword Num Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr
N/A N/A 
=============================
Recursive feature elimination
=============================

A recursive feature elimination example showing the relevance of pixels in
a digit classification task.

.. note::

    See also :ref:`example_feature_selection_plot_rfe_with_cross_validation.py`

 N/A __doc__ sklearn.svm SVC sklearn.datasets load_digits sklearn.feature_selection RFE N/A matplotlib.pyplot plt N/A digits N/A load_digits N/A X N/A N/A N/A digits images reshape N/A N/A len N/A digits images -1 N/A y N/A digits target N/A svc N/A SVC kernel linear C 1 N/A rfe N/A RFE estimator svc n_features_to_select 1 step 1 N/A N/A N/A rfe fit X y N/A ranking N/A N/A N/A rfe ranking_ reshape N/A N/A N/A digits images N/A 0 shape N/A N/A N/A plt matshow ranking cmap N/A N/A plt cm Blues N/A N/A N/A plt colorbar N/A N/A N/A plt title Ranking of pixels with RFE N/A N/A N/A plt show