Blame view

volia/clustering_modules/abstract_clustering.py 200 Bytes
b479f46e1   quillotm   Add abstract clas...
1
2
3
4
5
6
7
8
9
10
11
12
  
  from abc import ABC, abstractmethod
  
  class AbstractClustering(ABC):
  
      @abstractmethod
      def predict(self, features):
          pass
  
      @abstractmethod
      def load(self, features):
          pass