- class CovertMark.analytics.learning.Classifier(classifier)
Abstract class for common classifier methods.
Classify unseen inputs, can be used for both validation prediction and recall prediction.
validation_inputs (list) – input rows of features for validation, should not have been seen during training.
array of positive(1) / negative(0) labels predicted.
- train(training_features, training_labels)
Train on training input feature rows.
training_features (list) – input rows of features for training, without labels. These should be redrawn between training runs.
training_labels (list) – corresponding labels for the input rows.
- class CovertMark.analytics.learning.LogisticRegression(multithreaded=True)
Generic logistic regression with stable L1 penalisation and fast SAGA solver to converge quickly, but can overfit on high dimensional spaces.