diff --git a/examples/classification/plot_classifier_comparison.py b/examples/classification/plot_classifier_comparison.py index 1b38b7427b6c6..bb8fe4ce743f2 100644 --- a/examples/classification/plot_classifier_comparison.py +++ b/examples/classification/plot_classifier_comparison.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ===================== Classifier comparison diff --git a/examples/cluster/plot_cluster_iris.py b/examples/cluster/plot_cluster_iris.py old mode 100755 new mode 100644 index 2e2844cf3fcd3..5ca08990d1b6e --- a/examples/cluster/plot_cluster_iris.py +++ b/examples/cluster/plot_cluster_iris.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= K-means Clustering diff --git a/examples/cluster/plot_digits_agglomeration.py b/examples/cluster/plot_digits_agglomeration.py index c6590c0e24771..a45190dbe6ac7 100644 --- a/examples/cluster/plot_digits_agglomeration.py +++ b/examples/cluster/plot_digits_agglomeration.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= Feature agglomeration diff --git a/examples/cluster/plot_face_compress.py b/examples/cluster/plot_face_compress.py index 8b2e329ed257d..df88fd6ccdb07 100644 --- a/examples/cluster/plot_face_compress.py +++ b/examples/cluster/plot_face_compress.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= Vector Quantization Example diff --git a/examples/compose/plot_compare_reduction.py b/examples/compose/plot_compare_reduction.py old mode 100755 new mode 100644 index b31ac5d150998..036d29fbf62aa --- a/examples/compose/plot_compare_reduction.py +++ b/examples/compose/plot_compare_reduction.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- """ ================================================================= diff --git a/examples/compose/plot_digits_pipe.py b/examples/compose/plot_digits_pipe.py index 8974ccc0e651e..48d580bb02a03 100644 --- a/examples/compose/plot_digits_pipe.py +++ b/examples/compose/plot_digits_pipe.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= Pipelining: chaining a PCA and a logistic regression diff --git a/examples/compose/plot_transformed_target.py b/examples/compose/plot_transformed_target.py old mode 100755 new mode 100644 index c7f64e265b4b9..03ae17da53dd3 --- a/examples/compose/plot_transformed_target.py +++ b/examples/compose/plot_transformed_target.py @@ -1,6 +1,4 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- - """ ====================================================== Effect of transforming the targets in regression model diff --git a/examples/datasets/plot_digits_last_image.py b/examples/datasets/plot_digits_last_image.py index 98620d98702c7..619ea093178aa 100644 --- a/examples/datasets/plot_digits_last_image.py +++ b/examples/datasets/plot_digits_last_image.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= The Digit Dataset diff --git a/examples/datasets/plot_iris_dataset.py b/examples/datasets/plot_iris_dataset.py index c37057d230c1d..abea931849e9a 100644 --- a/examples/datasets/plot_iris_dataset.py +++ b/examples/datasets/plot_iris_dataset.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= The Iris Dataset diff --git a/examples/decomposition/plot_pca_3d.py b/examples/decomposition/plot_pca_3d.py index 27d3a34e2dd75..5a8094e624b86 100644 --- a/examples/decomposition/plot_pca_3d.py +++ b/examples/decomposition/plot_pca_3d.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= Principal components analysis (PCA) diff --git a/examples/decomposition/plot_pca_iris.py b/examples/decomposition/plot_pca_iris.py index 8ed89104cddc8..c7ee5e321dfdc 100644 --- a/examples/decomposition/plot_pca_iris.py +++ b/examples/decomposition/plot_pca_iris.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= PCA example with Iris Data-set diff --git a/examples/gaussian_process/plot_gpc_isoprobability.py b/examples/gaussian_process/plot_gpc_isoprobability.py index cd0fd740e2fc3..97673d9badadb 100644 --- a/examples/gaussian_process/plot_gpc_isoprobability.py +++ b/examples/gaussian_process/plot_gpc_isoprobability.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ================================================================= Iso-probability lines for Gaussian Processes classification (GPC) diff --git a/examples/linear_model/plot_iris_logistic.py b/examples/linear_model/plot_iris_logistic.py index 63853198f2adc..594db07484fd9 100644 --- a/examples/linear_model/plot_iris_logistic.py +++ b/examples/linear_model/plot_iris_logistic.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= Logistic Regression 3-class Classifier diff --git a/examples/linear_model/plot_lasso_lars.py b/examples/linear_model/plot_lasso_lars.py index 2ebeb46037072..08b14536e1c74 100644 --- a/examples/linear_model/plot_lasso_lars.py +++ b/examples/linear_model/plot_lasso_lars.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """ ===================== Lasso path using LARS diff --git a/examples/linear_model/plot_logistic.py b/examples/linear_model/plot_logistic.py index 49806a775328f..f0d2b7cb25170 100644 --- a/examples/linear_model/plot_logistic.py +++ b/examples/linear_model/plot_logistic.py @@ -1,7 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - - """ ========================================================= Logistic function diff --git a/examples/linear_model/plot_logistic_path.py b/examples/linear_model/plot_logistic_path.py index eacb74f22cf75..a63a767e9f875 100644 --- a/examples/linear_model/plot_logistic_path.py +++ b/examples/linear_model/plot_logistic_path.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """ ============================================== Regularization path of L1- Logistic Regression diff --git a/examples/linear_model/plot_multi_task_lasso_support.py b/examples/linear_model/plot_multi_task_lasso_support.py index 3802971ccf345..16d6139a822b9 100644 --- a/examples/linear_model/plot_multi_task_lasso_support.py +++ b/examples/linear_model/plot_multi_task_lasso_support.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """ ============================================= Joint feature selection with multi-task Lasso diff --git a/examples/linear_model/plot_ols.py b/examples/linear_model/plot_ols.py index 567596e82a8f1..fa63ddb6880bc 100644 --- a/examples/linear_model/plot_ols.py +++ b/examples/linear_model/plot_ols.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= Linear Regression Example diff --git a/examples/linear_model/plot_ols_3d.py b/examples/linear_model/plot_ols_3d.py index 34b5a76954730..fb1e2a2cc03f4 100644 --- a/examples/linear_model/plot_ols_3d.py +++ b/examples/linear_model/plot_ols_3d.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= Sparsity Example: Fitting only features 1 and 2 diff --git a/examples/linear_model/plot_ols_ridge_variance.py b/examples/linear_model/plot_ols_ridge_variance.py index e94979077a230..a83978396ee3f 100644 --- a/examples/linear_model/plot_ols_ridge_variance.py +++ b/examples/linear_model/plot_ols_ridge_variance.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= Ordinary Least Squares and Ridge Regression Variance diff --git a/examples/manifold/plot_manifold_sphere.py b/examples/manifold/plot_manifold_sphere.py index 41b0df181b344..94616fa67167e 100644 --- a/examples/manifold/plot_manifold_sphere.py +++ b/examples/manifold/plot_manifold_sphere.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ============================================= Manifold Learning methods on a severed sphere diff --git a/examples/preprocessing/plot_all_scaling.py b/examples/preprocessing/plot_all_scaling.py old mode 100755 new mode 100644 index 4dc93993330b2..66e428dd1a1e2 --- a/examples/preprocessing/plot_all_scaling.py +++ b/examples/preprocessing/plot_all_scaling.py @@ -1,6 +1,4 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- - """ ============================================================= Compare the effect of different scalers on data with outliers diff --git a/examples/preprocessing/plot_discretization.py b/examples/preprocessing/plot_discretization.py index 2e5be3f4640f4..59018c93c737d 100644 --- a/examples/preprocessing/plot_discretization.py +++ b/examples/preprocessing/plot_discretization.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- - """ ================================================================ Using KBinsDiscretizer to discretize continuous features diff --git a/examples/preprocessing/plot_discretization_classification.py b/examples/preprocessing/plot_discretization_classification.py index 355bb9253d963..ebbb9e1400fa4 100644 --- a/examples/preprocessing/plot_discretization_classification.py +++ b/examples/preprocessing/plot_discretization_classification.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- """ ====================== diff --git a/examples/preprocessing/plot_scaling_importance.py b/examples/preprocessing/plot_scaling_importance.py index f80debf306867..44801dfc1c715 100644 --- a/examples/preprocessing/plot_scaling_importance.py +++ b/examples/preprocessing/plot_scaling_importance.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- """ ========================================================= diff --git a/examples/svm/plot_svm_kernels.py b/examples/svm/plot_svm_kernels.py index 5d8ef3403797f..6435f6ac03433 100644 --- a/examples/svm/plot_svm_kernels.py +++ b/examples/svm/plot_svm_kernels.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= SVM-Kernels diff --git a/examples/svm/plot_svm_margin.py b/examples/svm/plot_svm_margin.py index 123cfafff68e1..021122c0eb32e 100644 --- a/examples/svm/plot_svm_margin.py +++ b/examples/svm/plot_svm_margin.py @@ -1,6 +1,4 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- - """ ========================================================= SVM Margins Example