<s> """<STR_LIT>""" <EOL> print ( __doc__ ) <EOL> from sklearn . svm import SVC <EOL> from sklearn . datasets import load_digits <EOL> from sklearn . feature_selection import RFE <EOL> import matplotlib . pyplot as plt <EOL> digits = load_digits ( ) <EOL> X = digits . images . reshape ( ( len ( digits . images ) , - <NUM_LIT:1> ) ) <EOL> y = digits . target <EOL> svc = SVC ( kernel = "<STR_LIT>" , C = <NUM_LIT:1> ) <EOL> rfe = RFE ( estimator = svc , n_features_to_select = <NUM_LIT:1> , step = <NUM_LIT:1> ) <EOL> rfe . fit ( X , y ) <EOL> ranking = rfe . ranking_ . reshape ( digits . images [ <NUM_LIT:0> ] . shape ) <EOL> plt . matshow ( ranking , cmap = plt . cm . Blues ) <EOL> plt . colorbar ( ) <EOL> plt . title ( "<STR_LIT>" ) <EOL> plt . show ( ) </s>
