Package | Description |
---|---|
org.tribuo |
Provides the core interfaces and classes for using Tribuo.
|
org.tribuo.impl |
Provides implementations of base classes and interfaces from
org.tribuo . |
org.tribuo.sequence |
Provides core classes for working with sequences of
Example s. |
org.tribuo.util |
Provides utilities which don't have other Tribuo dependencies.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ImmutableDataset.add(Example<T> ex,
Merger merger)
Adds a
Example to the dataset, which will insert feature ids,
remove unknown features and sort the examples by the feature ids (merging duplicate ids). |
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.
|
abstract void |
Example.reduceByName(Merger merger)
Merges features with the same name using the
supplied
Merger . |
Modifier and Type | Method and Description |
---|---|
void |
ListExample.reduceByName(Merger merger) |
void |
IndexedArrayExample.reduceByName(Merger merger) |
void |
BinaryFeaturesExample.reduceByName(Merger merger) |
void |
ArrayExample.reduceByName(Merger merger) |
Modifier and Type | Method and Description |
---|---|
protected void |
ImmutableSequenceDataset.add(SequenceExample<T> ex,
Merger merger)
Adds a
SequenceExample to the dataset, which will insert feature ids, remove unknown features
and sort the examples by the feature ids. |
static <T extends Output<T>> |
ImmutableSequenceDataset.copyDataset(SequenceDataset<T> dataset,
ImmutableFeatureMap featureIDMap,
ImmutableOutputInfo<T> outputIDInfo,
Merger merger)
Creates an immutable deep copy of the supplied dataset.
|
void |
SequenceExample.reduceByName(Merger merger)
Reduces the features in each example using the supplied
Merger . |
Modifier and Type | Method and Description |
---|---|
static Merger |
Merger.add()
A merger which adds the elements.
|
static Merger |
Merger.max()
A merger which takes the maximum element.
|
static Merger |
Merger.min()
A merger which takes the minimum element.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.