Skip to content

Adding clustering module to init#43

Merged
avilchess merged 4 commits intomasterfrom
fix/clustering
Feb 27, 2019
Merged

Adding clustering module to init#43
avilchess merged 4 commits intomasterfrom
fix/clustering

Conversation

@avilchess
Copy link
Copy Markdown
Contributor

Make sure you have checked all steps below.

Description

  • Here are some details about my PR, including screenshots of any UI changes:

Tests

  • My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

  • My commits have been squashed if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

License

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 27, 2019

Codecov Report

Merging #43 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   94.56%   94.56%   +<.01%     
==========================================
  Files          14       14              
  Lines         864      865       +1     
==========================================
+ Hits          817      818       +1     
  Misses         47       47
Flag Coverage Δ
#Linux 93.29% <100%> (ø) ⬆️
#MacOS 93.06% <100%> (ø) ⬆️
#Windows 94.21% <100%> (ø) ⬆️
Impacted Files Coverage Δ
khiva/clustering.py 100% <ø> (ø) ⬆️
khiva/__init__.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f647c60...ddd7f78. Read the comment docs.

Copy link
Copy Markdown
Contributor

@dcuestam dcuestam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, apply the PR feedback.

Comment thread khiva/clustering.py Outdated
:param tolerance: The error tolerance to stop the computation of the centroids.
:param max_iterations: The maximum number of iterations allowed.

:return: Array of centroids and Array of Labels.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tuple with a KHIVA array containing the centroids and a KHIVA array containing the labels. (Please be consistent with the upper cases..Labels)

Comment thread khiva/clustering.py Outdated
:param tolerance: The error tolerance to stop the computation of the centroids.
:param max_iterations: The maximum number of iterations allowed.

:return: Array of centroids and Array of Labels.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tuple with a KHIVA array containing the centroids and a KHIVA array containing the labels. (Please be consistent with the upper cases..Labels)

@avilchess avilchess merged commit 5be86f4 into master Feb 27, 2019
@avilchess avilchess deleted the fix/clustering branch February 27, 2019 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants