Uses of Interface
org.tribuo.util.Merger
Packages that use Merger
Package
Description
Provides the core interfaces and classes for using Tribuo.
Provides implementations of base classes and interfaces from
org.tribuo
.Provides core classes for working with sequences of
Example
s.Provides utilities which don't have other Tribuo dependencies.
-
Uses of Merger in org.tribuo
Methods in org.tribuo with parameters of type MergerModifier and TypeMethodDescriptionprotected void
Adds aExample
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<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 suppliedMerger
. -
Uses of Merger in org.tribuo.impl
Methods in org.tribuo.impl with parameters of type MergerModifier and TypeMethodDescriptionvoid
ArrayExample.reduceByName
(Merger merger) void
BinaryFeaturesExample.reduceByName
(Merger merger) void
IndexedArrayExample.reduceByName
(Merger merger) void
ListExample.reduceByName
(Merger merger) -
Uses of Merger in org.tribuo.sequence
Methods in org.tribuo.sequence with parameters of type MergerModifier and TypeMethodDescriptionprotected void
ImmutableSequenceDataset.add
(SequenceExample<T> ex, Merger merger) Adds aSequenceExample
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<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 suppliedMerger
. -
Uses of Merger in org.tribuo.util
Methods in org.tribuo.util that return Merger