Skip to content

Comments

Add KMedoids clusterer#398

Open
chouaibcher wants to merge 2 commits intoRubixML:masterfrom
chouaibcher:master
Open

Add KMedoids clusterer#398
chouaibcher wants to merge 2 commits intoRubixML:masterfrom
chouaibcher:master

Conversation

@chouaibcher
Copy link

Introduce a new KMedoids clusterer implementation (src/Clusterers/KMedoids.php) + documentation (docs/clusterers/k-medoids.md),
unit tests (tests/Clusterers/KMedoidsTest.php) and
a benchmark (benchmarks/Clusterers/KMedoidsBench.php).

Introduce a new KMedoids clusterer implementation (src/Clusterers/KMedoids.php) implementing Estimator, Learner, Online, Probabilistic, Verbose and Persistable interfaces. Adds full training/partial training, predict/proba, inertia/loss tracking, medoids/sizes accessors, serialization and parameter validation. Also add documentation (docs/clusterers/k-medoids.md), unit tests (tests/Clusterers/KMedoidsTest.php) and a benchmark (benchmarks/Clusterers/KMedoidsBench.php). Tests and code use a seeder, distance kernel, and basic logging; invalid inputs and untrained prediction are guarded by exceptions.
.
@andrewdalpino
Copy link
Member

Hey @chouaibcher this is really cool! I'll take a look ASAP although just to warn you I don't have much time for Rubix ML these days so please be patient with me. Thanks I'm looking forward to the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants