Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfd50c2

Browse files
MNT Clean up examples
* chmod -x * remove Python shebang from examples: #!/usr/bin/python * only UTF-8-encoded files contain "-# -*- coding: utf-8 -*-"
1 parent d3429c1 commit cfd50c2

34 files changed

+6
-61
lines changed

examples/applications/plot_cyclical_feature_engineering.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
"""
23
================================
34
Time-related feature engineering

examples/applications/plot_digits_denoising.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
"""
23
================================
34
Image denoising using kernel PCA

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_color_quantization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
==================================
43
Color Quantization using K-Means

examples/cluster/plot_dbscan.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
===================================
43
Demo of DBSCAN clustering algorithm

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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
31
"""
42
=================================================================
53
Selecting dimensionality reduction with Pipeline and GridSearchCV

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

0 commit comments

Comments
 (0)