You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Squashed from #147
pick 24f5bb6 Default the shuffled ID and index types of `kmeans_index` to `size_t`.
pick 8fe7850 Enable the k-means initialization tests.
pick 23bf690 Support specifying the seed when creating a `kmeans_index`.
pick ce8745f Avoid randomly choosing the same centroid many times.
pick 0674917 Apply some fixes to the superbuild CMake file from Core.
pick 960e036 Add default values for tolerance and number of threads in `kmeans_index`.
pick c37f20c Start writing the Python kmeans APIs in a separate file.
pick 87983b4 Set internal linkage to some utility functions.
pick 8e33ac4 Fix more duplicate symbol errors.
pick 43ef100 Add a kmeans predict function.
pick 115b8f2 Train the kmeans index in the Python wrapper.
pick c773e2a Use kmeans_fit in the ingestion code instead of sklearn.
pick 455ca20 Fix compile errors and a warning.
pick fcf88f3 More refactorings and use `array_to_matrix`.
pick f35f100 Fix errors in the ingestion.
pick 239a753 Improve a test and diagnostic output.
pick 66de269 Always use floats to train kmeans.
pick fc5c0cf Add more parameters to `kmeans_fit`.
pick 2879be9 Add a test that compares the results of sklearn's and our own kmeans implementation.
pick 94643ce Use kmeans_predict instead of sklearn. This removes the sklearn dependency for good.
pick 45f2852 Use common options across sklearn's and our kmeans implementations.
pick b307de5 Rename `kmeans++` to `k-means++` to match sklearn.
pick 584d548 Assert that the score of the our kmeans implementation is smaller than 1.5 times the score of sklearn's.
pick a7da424 fix transposed args in kmeans.cc -- add unit test [skip ci]
pick 8527303 Test both kmeans++ and random initialization.
pick 6575791 Fix formatting and delete commented code.
pick 34ddcb5 Make the kmeans test more deterministic.
pick 8769d04 Add back the asserts.
pick ef38b0b Add an opt-in switch to use sklearn's kmeans implementation.
0 commit comments