Uses of Class
org.tribuo.classification.baseline.DummyClassifierTrainer
Package
Description
Provides simple baseline multiclass classifiers.
-
Uses of DummyClassifierTrainer in org.tribuo.classification.baseline
Modifier and TypeMethodDescriptionstatic DummyClassifierTrainer
DummyClassifierTrainer.createConstantTrainer
(String constantLabel) Creates a trainer which creates models which return a fixed label.static DummyClassifierTrainer
DummyClassifierTrainer.createMostFrequentTrainer()
Creates a trainer which creates models which return a fixed label, the one which was most frequent in the training data.static DummyClassifierTrainer
DummyClassifierTrainer.createStratifiedTrainer
(long seed) Creates a trainer which creates models which return random labels sampled from the training label distribution.static DummyClassifierTrainer
DummyClassifierTrainer.createUniformTrainer
(long seed) Creates a trainer which creates models which return random labels sampled uniformly from the labels seen at training time.