flake8
test GridSearchCV and RandomizedSearchCV with sample_weight and MockClassifier
cross_validation: use {} instead of dict()
cross_validation: formatting
cross_validation._safe_split: use np.asarray to convert list sample_weight to array if needed