ENH allow y to be a list in GridSearchCV, cross_val_score and train_test_split.
add test for safe_indexing, add another test for cross_val_score
scorer: add sample_weight support
Catch ConvergenceWarning in RandomizedL1
ENH improve forest testing + avoid *args
ENH improve rand_int and rand_uniform
ENH rename parameters in MockListClassifiers.
TST non-regression test for CV on text pipelines
Merge pull request #3400 from arjoly/forest-test-oob

ENH improve forest testing + avoid *args
Merge pull request #3396 from amueller/less_loud_randomized_lasso

ENH add convergence_warning option to lars_path.
Merge pull request #3397 from arjoly/tree-factor-rand

Improve random number generator helper in the tree module
Remove deprecated 'mode' parameter from sklearn.manifold.spectral_embedding
Merge pull request #2694 from amueller/allow_y_lists

[MRG+1] allow y to be a list in GridSearchCV, cross_val_score and train_test_split
Remove deprecated 'class_weight' parameter from RidgeClassifierCV.fit
use more interesting range for C in logistic l1 l2 example.

Before this change, output is (http://scikit-learn.org/dev/auto_examples/linear_model/plot_logistic_l1_l2_sparsity.html#example-linear-model-plot-logistic-l1-l2-sparsity-py):
C=10
Sparsity with L1 penalty: 6.25%
score with L1 penalty: 0.9104
Sparsity with L2 penalty: 4.69%
score with L2 penalty: 0.9093
C=100
Sparsity with L1 penalty: 6.25%
score with L1 penalty: 0.9098
Sparsity with L2 penalty: 4.69%
score with L2 penalty: 0.9098
C=1000
Sparsity with L1 penalty: 4.69%
score with L1 penalty: 0.9098
Sparsity with L2 penalty: 4.69%
score with L2 penalty: 0.9098

With this change, output is:
C=100.00
Sparsity with L1 penalty: 6.25%
score with L1 penalty: 0.9110
Sparsity with L2 penalty: 4.69%
score with L2 penalty: 0.9098
C=1.00
Sparsity with L1 penalty: 9.38%
score with L1 penalty: 0.9104
Sparsity with L2 penalty: 4.69%
score with L2 penalty: 0.9093
C=0.01
Sparsity with L1 penalty: 85.94%
score with L1 penalty: 0.8625
Sparsity with L2 penalty: 4.69%
score with L2 penalty: 0.8915
COSMIT pep8 fixes
TST ignore sequence of sequences DeprecationWarnings
Merge pull request #3406 from jnothman/minor

[MRG] Cosmetic improvements to test_metrics
move around examples for better structure.
Remove deprecated 'precompute_gram' parameter