Skip to content

Commit 99c34d2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5a1c49a commit 99c34d2

File tree

7 files changed

+7
-4
lines changed

7 files changed

+7
-4
lines changed

examples/cluster/plot_kmedoids_digits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
In this example we compare different pairwise distance
66
metrics for K-Medoids.
77
"""
8+
89
import numpy as np
910
import matplotlib.pyplot as plt
1011

examples/eigenpro/plot_eigenpro_synthetic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
the number of features exceeds 500, it begins to outperform
1212
SVM and shows more stability.
1313
"""
14+
1415
print(__doc__)
1516

1617
import matplotlib

examples/kernel_approximation/plot_kernel_approximation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
in :ref:`kernel_approximation`.
4242
4343
"""
44+
4445
print(__doc__)
4546

4647
# Author: Gael Varoquaux <gael dot varoquaux at normalesup dot org>

examples/plot_clara_digits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
In this example we compare different computation time of K-Medoids and CLARA on
66
the handwritten digits data.
77
"""
8+
89
import numpy as np
910
import matplotlib.pyplot as plt
1011
import time

sklearn_extra/cluster/_commonnn.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
"""Density-Based Common-Nearest-Neighbors Clustering
3-
"""
2+
"""Density-Based Common-Nearest-Neighbors Clustering"""
43

54
# Author: Jan-Oliver Joswig <[email protected]>
65
#

sklearn_extra/cluster/tests/test_commonnn.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Tests for common-nearest neighbour clustering
2-
"""
1+
"""Tests for common-nearest neighbour clustering"""
32

43
import pickle
54

sklearn_extra/cluster/tests/test_k_medoids.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Testing for K-Medoids"""
2+
23
import warnings
34
import numpy as np
45
from unittest import mock

0 commit comments

Comments
 (0)