In #48 , we removed the capability for users to pass the number of medoids, k.
Instead, we should permit the user to both pass the number of medoids to kmed.fit, and use the number the kmed object was instantiated with if none is passed
User can pass number of medoids in both kmed object and kmed.fit. We can pass k to kmed.fit to overwrite the number the kmed object was instantiated with as demonstrated below:
In #48 , we removed the capability for users to pass the number of medoids,
k
.Instead, we should permit the user to both pass the number of medoids to
kmed.fit
, and use the number thekmed
object was instantiated with if none is passed