actsnclass.DataBase.classify

DataBase.classify(method: str, **kwargs)

Apply a machine learning classifier.

Populate properties: predicted_class and class_prob

Parameters:
  • method (str) – Chosen classifier. The current implementation accepts RandomForest, ‘GradientBoostedTrees’, ‘KNN’, ‘MLP’, ‘SVM’ and ‘NB’.
  • kwargs (extra parameters) – Parameters required by the chosen classifier.