Abstract class for common classifier methods.
Classify unseen inputs, can be used for both validation prediction and recall prediction.
Parameters: validation_inputs (list) – input rows of features for validation, should not have been seen during training. Returns: array of positive(1) / negative(0) labels predicted.
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.
Generic logistic regression with stable L1 penalisation and fast SAGA solver to converge quickly, but can overfit on high dimensional spaces.