Skip to content

MNT Clean up examples #21246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions examples/classification/plot_classifier_comparison.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=====================
Classifier comparison
Expand Down
2 changes: 0 additions & 2 deletions examples/cluster/plot_cluster_iris.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
K-means Clustering
Expand Down
2 changes: 0 additions & 2 deletions examples/cluster/plot_digits_agglomeration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
Feature agglomeration
Expand Down
2 changes: 0 additions & 2 deletions examples/cluster/plot_face_compress.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
Vector Quantization Example
Expand Down
1 change: 0 additions & 1 deletion examples/compose/plot_compare_reduction.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
=================================================================
Expand Down
2 changes: 0 additions & 2 deletions examples/compose/plot_digits_pipe.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
Pipelining: chaining a PCA and a logistic regression
Expand Down
2 changes: 0 additions & 2 deletions examples/compose/plot_transformed_target.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
======================================================
Effect of transforming the targets in regression model
Expand Down
2 changes: 0 additions & 2 deletions examples/datasets/plot_digits_last_image.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
The Digit Dataset
Expand Down
2 changes: 0 additions & 2 deletions examples/datasets/plot_iris_dataset.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
The Iris Dataset
Expand Down
2 changes: 0 additions & 2 deletions examples/decomposition/plot_pca_3d.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
Principal components analysis (PCA)
Expand Down
2 changes: 0 additions & 2 deletions examples/decomposition/plot_pca_iris.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
PCA example with Iris Data-set
Expand Down
2 changes: 0 additions & 2 deletions examples/gaussian_process/plot_gpc_isoprobability.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=================================================================
Iso-probability lines for Gaussian Processes classification (GPC)
Expand Down
2 changes: 0 additions & 2 deletions examples/linear_model/plot_iris_logistic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
Logistic Regression 3-class Classifier
Expand Down
1 change: 0 additions & 1 deletion examples/linear_model/plot_lasso_lars.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
=====================
Lasso path using LARS
Expand Down
3 changes: 0 additions & 3 deletions examples/linear_model/plot_logistic.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-


"""
=========================================================
Logistic function
Expand Down
1 change: 0 additions & 1 deletion examples/linear_model/plot_logistic_path.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
==============================================
Regularization path of L1- Logistic Regression
Expand Down
1 change: 0 additions & 1 deletion examples/linear_model/plot_multi_task_lasso_support.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
=============================================
Joint feature selection with multi-task Lasso
Expand Down
2 changes: 0 additions & 2 deletions examples/linear_model/plot_ols.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
Linear Regression Example
Expand Down
2 changes: 0 additions & 2 deletions examples/linear_model/plot_ols_3d.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
Sparsity Example: Fitting only features 1 and 2
Expand Down
2 changes: 0 additions & 2 deletions examples/linear_model/plot_ols_ridge_variance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
Ordinary Least Squares and Ridge Regression Variance
Expand Down
2 changes: 0 additions & 2 deletions examples/manifold/plot_manifold_sphere.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=============================================
Manifold Learning methods on a severed sphere
Expand Down
2 changes: 0 additions & 2 deletions examples/preprocessing/plot_all_scaling.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
=============================================================
Compare the effect of different scalers on data with outliers
Expand Down
1 change: 0 additions & 1 deletion examples/preprocessing/plot_discretization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

"""
================================================================
Using KBinsDiscretizer to discretize continuous features
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
======================
Expand Down
1 change: 0 additions & 1 deletion examples/preprocessing/plot_scaling_importance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
=========================================================
Expand Down
2 changes: 0 additions & 2 deletions examples/svm/plot_svm_kernels.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
SVM-Kernels
Expand Down
2 changes: 0 additions & 2 deletions examples/svm/plot_svm_margin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
=========================================================
SVM Margins Example
Expand Down