8000 MNT Remove encoding declarations: # -*- coding: utf-8 -*- · scikit-learn/scikit-learn@571474c · GitHub
[go: up one dir, main page]

Skip to content

Commit 571474c

Browse files
MNT Remove encoding declarations: # -*- coding: utf-8 -*-
The default source file encoding is UTF-8 in Python 3.
1 parent 31c66a9 commit 571474c

File tree

18 files changed

+0
-25
lines changed

18 files changed

+0
-25
lines changed

doc/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# scikit-learn documentation build configuration file, created by
42
# sphinx-quickstart on Fri Jan 8 09:13:42 2010.
53
#

sklearn/cluster/_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
DBSCAN: Density-Based Spatial Clustering of Applications with Noise
43
"""

sklearn/cluster/_optics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""Ordering Points To Identify the Clustering Structure (OPTICS)
32
43
These routines execute the OPTICS algorithm, and implement various

sklearn/cluster/_spectral.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""Algorithms for spectral clustering"""
32

43
# Author: Gael Varoquaux gael.varoquaux@normalesup.org

sklearn/feature_extraction/tests/test_text.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
from collections.abc import Mapping
32
import re
43

sklearn/feature_extraction/text.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# Authors: Olivier Grisel <olivier.grisel@ensta.org>
32
# Mathieu Blondel <mathieu@mblondel.org>
43
# Lars Buitinck

sklearn/feature_selection/_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""Generic feature selection mixin"""
32

43
# Authors: G. Varoquaux, A. Gramfort, L. Buitinck, J. Nothman

sklearn/gaussian_process/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Author: Jan Hendrik Metzen <jhm@informatik.uni-bremen.de>
42
# Vincent Dubourg <vincent.dubourg@gmail.com>
53
# (mostly translation, see implementation details)

sklearn/linear_model/_ransac.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
# Author: Johannes Schönberger
42
#
53
# License: BSD 3 clause

sklearn/linear_model/_theil_sen.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
A Theil-Sen Estimator for Multiple Linear Regression Model
43
"""

sklearn/metrics/pairwise.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Authors: Alexandre Gramfort <alexandre.gramfort@inria.fr>
42
# Mathieu Blondel <mathieu@mblondel.org>
53
# Robert Layton <robertlayton@gmail.com>

sklearn/naive_bayes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
"""
42
The :mod:`sklearn.naive_bayes` module implements Naive Bayes algorithms. These
53
are supervised learning methods based on applying Bayes' theorem with strong

sklearn/neighbors/_nca.py

Expand all lines: sklearn/neighbors/_nca.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
Neighborhood Component Analysis
43
"""

sklearn/neighbors/_nearest_centroid.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
Nearest Centroid Classification
43
"""

sklearn/neighbors/tests/test_nca.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
Testing for Neighborhood Component Analysis module (sklearn.neighbors.nca)
43
"""

sklearn/preprocessing/_discretization.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Author: Henry Lin <hlin117@gmail.com>
42
# Tom Dupré la Tour
53

sklearn/preprocessing/tests/test_encoders.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
import re
42

53
import numpy as np

sklearn/random_projection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf8
21
"""Random Projection transformers.
32
43
Random Projections are a simple and computationally efficient way to

0 commit comments

Comments
 (0)
0