10000 MNT Remove #!/usr/bin/python shebang in examples (#21246) · scikit-learn/scikit-learn@e4f74fc · GitHub
[go: up one dir, main page]

Skip to content

Commit e4f74fc

Browse files
DimitriPapadopoulosglemaitre
authored andcommitted
MNT Remove #!/usr/bin/python shebang in examples (#21246)
1 parent 94c0c36 commit e4f74fc

27 files changed

+0
-48
lines changed

examples/classification/plot_classifier_comparison.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=====================
64
Classifier comparison

examples/cluster/plot_cluster_iris.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
K-means Clustering

examples/cluster/plot_digits_agglomeration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
Feature agglomeration

examples/cluster/plot_face_compress.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
Vector Quantization Example

examples/compose/plot_compare_reduction.py

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# -*- coding: utf-8 -*-
32
"""
43
=================================================================

examples/compose/plot_digits_pipe.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
Pipelining: chaining a PCA and a logistic regression

examples/compose/plot_transformed_target.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/env python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
======================================================
64
Effect of transforming the targets in regression model

examples/datasets/plot_digits_last_image.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
The Digit Dataset

examples/datasets/plot_iris_dataset.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
The Iris Dataset

examples/decomposition/plot_pca_3d.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
Principal components analysis (PCA)

examples/decomposition/plot_pca_iris.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
PCA example with Iris Data-set

examples/gaussian_process/plot_gpc_isoprobability.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=================================================================
64
Iso-probability lines for Gaussian Processes classification (GPC)

examples/linear_model/plot_iris_logistic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
Logistic Regression 3-class Classifier

examples/linear_model/plot_lasso_lars.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
"""
32
=====================
43
Lasso path using LARS

examples/linear_model/plot_logistic.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
4-
52
"""
63
=========================================================
74
Logistic function

examples/linear_model/plot_logistic_path.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
"""
32
==============================================
43
Regularization path of L1- Logistic Regression

examples/linear_model/plot_multi_task_lasso_support.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
"""
32
=============================================
43
Joint feature selection with multi-task Lasso

examples/linear_model/plot_ols.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
Linear Regression Example

examples/linear_model/plot_ols_3d.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
Sparsity Example: Fitting only features 1 and 2

examples/linear_model/plot_ols_ridge_variance.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
Ordinary Least Squares and Ridge Regression Variance
< 2851 code class="diff-text-cell hunk">

examples/manifold/plot_manifold_sphere.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=============================================
64
Manifold Learning methods on a severed sphere

examples/preprocessing/plot_all_scaling.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/env python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=============================================================
64
Compare the effect of different scalers on data with outliers

examples/preprocessing/plot_discretization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
"""
43
================================================================
54
Using KBinsDiscretizer to discretize continuous features

examples/preprocessing/plot_discretization_classification.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
32
"""
43
======================

examples/preprocessing/plot_scaling_importance.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
32
"""
43
=========================================================

examples/svm/plot_svm_kernels.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
SVM-Kernels

examples/svm/plot_svm_margin.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/python
21
# -*- coding: utf-8 -*-
3-
42
"""
53
=========================================================
64
SVM Margins Example

0 commit comments

Comments
 (0)
0