Numpy-Neuron / cluster /kmedoids.py
Jensen-holm's picture
v1 of kmean may be complete
c2687ce
raw
history blame
228 Bytes
from dataclasses import dataclass
import numpy as np
from cluster.clusterer import Clusterer
@dataclass
class Kmedoids(Clusterer):
k: int
def main(self, X):
...
def build(self, X: np.array):
...