Skip to content

MAINT Update black to 20.8b1 #72

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 2 commits into from
Nov 7, 2020
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
python3:
docker:
- image: circleci/python:3.6.1
- image: circleci/python:3.7.6
steps:
- checkout
- run:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:

lint:
docker:
- image: circleci/python:3.6.1
- image: circleci/python:3.7.6
steps:
- checkout
- run:
Expand Down
4 changes: 2 additions & 2 deletions sklearn_extra/cluster/_k_medoids.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class KMedoids(BaseEstimator, ClusterMixin, TransformerMixin):
with the smallest sum distance to every other point. 'k-medoids++'
follows an approach based on k-means++_, and in general, gives initial
medoids which are more separated than those generated by the other methods.

.. _k-means++: https://theory.stanford.edu/~sergei/papers/kMeansPP-soda.pdf

max_iter : int, optional, default : 300
Expand Down Expand Up @@ -105,7 +105,7 @@ class KMedoids(BaseEstimator, ClusterMixin, TransformerMixin):
-----
Since all pairwise distances are calculated and stored in memory for
the duration of fit, the space complexity is O(n_samples ** 2).

"""

def __init__(
Expand Down
4 changes: 2 additions & 2 deletions sklearn_extra/kernel_methods/_eigenpro.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def __init__(
)

def fit(self, X, Y):
""" Train eigenpro classification model
"""Train eigenpro classification model

Parameters
----------
Expand All @@ -629,7 +629,7 @@ def fit(self, X, Y):
Returns
-------
self : returns an instance of self.
"""
"""
X, Y = check_X_y(
X,
Y,
Expand Down