Description Usage Arguments Value
A classifier that makes its predictions by choosing the class who has a centroid the nearest to the point. For each class, an arbitrary number of centroids can be set. This centroids are calculated using k-Means over each class sub-dataset.
1 | NCMC_Classifier(centroids_num = 3, ...)
|
centroids_num |
If it is a list, it must have the same size as the number of classes. In this case, i-th item will be the number of centroids to take in the i-th class. If it is an int, every class will have the same number of centroids. |
... |
Additional arguments for Scikit-Learn K-Means. |
The NCMC classifier, structured as a named list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.