Package | Description |
---|---|
org.tribuo.classification.baseline |
Provides simple baseline multiclass classifiers.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.