Package | Description |
---|---|
org.tribuo.dataset |
Provides utility datasets which subsample or otherwise
transform the wrapped dataset.
|
org.tribuo.evaluation |
Evaluation base classes, along with code for train/test splits and cross validation.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Output<T>> |
DatasetView.createBootstrapView(Dataset<T> dataset,
int size,
long seed)
Generates a DatasetView bootstrapped from the supplied Dataset.
|
static <T extends Output<T>> |
DatasetView.createBootstrapView(Dataset<T> dataset,
int size,
long seed,
ImmutableFeatureMap featureIDs,
ImmutableOutputInfo<T> outputIDs)
Generates a DatasetView bootstrapped from the supplied Dataset.
|
static <T extends Output<T>> |
DatasetView.createView(Dataset<T> dataset,
Predicate<Example<T>> predicate,
String tag)
Creates a view from the supplied dataset, using the specified predicate to
test if each example should be in this view.
|
static <T extends Output<T>> |
DatasetView.createWeightedBootstrapView(Dataset<T> dataset,
int size,
long seed,
float[] exampleWeights)
Generates a DatasetView bootstrapped from the supplied Dataset using the supplied
example weights.
|
static <T extends Output<T>> |
DatasetView.createWeightedBootstrapView(Dataset<T> dataset,
int size,
long seed,
float[] exampleWeights,
ImmutableFeatureMap featureIDs,
ImmutableOutputInfo<T> outputIDs)
Generates a DatasetView bootstrapped from the supplied Dataset using the supplied
example weights.
|
Modifier and Type | Field and Description |
---|---|
DatasetView<T> |
KFoldSplitter.TrainTestFold.test |
DatasetView<T> |
KFoldSplitter.TrainTestFold.train |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.