Skip to content
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

Expose cluster_cost to python #1028

Merged
merged 5 commits into from
Nov 21, 2022

Commits on Nov 17, 2022

  1. Expose cluster_cost to python

    Add cython bindings for the cluster_cost function, to allow
    computing inertia from python.
    
    Closes rapidsai#972
    benfred committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    403e955 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Add pytest for inertia

    benfred committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    89863ef View commit details
    Browse the repository at this point in the history
  2. remove errant noqa statement

    benfred committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    05fab11 View commit details
    Browse the repository at this point in the history
  3. Fix inertia calculation

    inertia is sum of squared distances, we were doing sum of euclidean distances
    benfred committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    aed934d View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2022

  1. increase # of rows in test

    benfred committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    3b50372 View commit details
    Browse the repository at this point in the history