Package | Description |
---|---|
org.tribuo |
Provides the core interfaces and classes for using Tribuo.
|
org.tribuo.dataset |
Provides utility datasets which subsample or otherwise
transform the wrapped dataset.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Output<T>> |
ImmutableDataset.copyDataset(Dataset<T> dataset)
Creates an immutable deep copy of the supplied dataset.
|
static <T extends Output<T>> |
ImmutableDataset.copyDataset(Dataset<T> dataset,
ImmutableFeatureMap featureIDMap,
ImmutableOutputInfo<T> outputIDInfo)
Creates an immutable deep copy of the supplied dataset, using a different feature and output map.
|
static <T extends Output<T>> |
ImmutableDataset.copyDataset(Dataset<T> dataset,
ImmutableFeatureMap featureIDMap,
ImmutableOutputInfo<T> outputIDInfo,
Merger merger)
Creates an immutable deep copy of the supplied dataset.
|
static <T extends Output<T>> |
ImmutableDataset.hashFeatureMap(Dataset<T> dataset,
Hasher hasher)
Creates an immutable shallow copy of the supplied dataset, using the hasher to generate a
HashedFeatureMap which transparently maps from the feature name to the hashed variant. |
Modifier and Type | Class and Description |
---|---|
class |
DatasetView<T extends Output<T>>
DatasetView provides an immutable view on another
Dataset that only exposes selected examples. |
class |
MinimumCardinalityDataset<T extends Output<T>>
This class creates a pruned dataset in which low frequency features that
occur less than the provided minimum cardinality have been removed.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.