Skip to content

Update _kmeans.py #7

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
9 changes: 5 additions & 4 deletions .github/workflows/artifact-redirector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ name: CircleCI artifacts redirector
on: [status]

# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this
# github actions workflow:
# github actions workflow:)
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
statuses: write
permissions: read-all

jobs:
circleci_artifacts_redirector_job:
runs-on: ubuntu-latest
# For testing this action on a fork, remove the "github.repository =="" condition.
if: "github.repository == 'scikit-learn/scikit-learn' && github.event.context == 'ci/circleci: doc'"
if: "github.event.context == 'ci/circleci: doc'"
name: Run CircleCI artifacts redirector
permissions:
statuses: write
steps:
- name: GitHub Action step
uses: larsoner/circleci-artifacts-redirector-action@master
Expand Down
2 changes: 1 addition & 1 deletion sklearn/cluster/_kmeans.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@


###############################################################################
# Initialization heuristic
# Initialization heuristic !


@validate_params(
Expand Down