FIX: sample_weight='auto' for RidgeClassifier
[TYPO] s/migh/might/
Update supervised.py
Update supervised.py
Merge pull request #2895 from kaushik94/master

 supervised.py with updated documentation
Update plot_forest_importances.py

import statement has moved to the top of the file
Merge pull request #2897 from ugurthemaster/patch-1

Update plot_forest_importances.py
DOC: update examples, use matplotlib.pyplot instead of pylab
peerindex testimonial
Merge pull request #2909 from ogrisel/peerindex-testimonial

[MRG] PeerIndex testimonial
FIX predict_proba status on SGD and SVC when disabled

Using a property trick suggested by @mblondel. The following now
works:

    >>> clf = SVC(probability=False)
    >>> hasattr(clf, "predict_proba")
    False

This simplifies the smoke tests.

Added a note to SVC stating that this should be done in new code.
ENH use hasattr "predict_proba" in bagging

More robust than catching exceptions.
FIX one more unchecked malloc in the tree code
DOC SVC.predict_{,log_}proba does not return X
DOC what we call poly features are called interaction features in stats
FIX OneHotEncoder: check value max when n_values is integral

Fixes #2839.
Merge pull request #2910 from larsmans/hasattr-predict-proba

make hasattr(clf, "predict_proba") work with probabilities disabled
FIX: Label encoding done in compute_class_weight

Changed API such that weight[i] corresponds to sorted_weight[i].
Merge pull request #2876 from Manoj-Kumar-S/fix_auto

FIX: Cleaning up compute_class_weight for 'auto'
ENH add sparse parameter to OneHotEncoder