Uses of Class
org.tribuo.hash.Hasher
Package
Description
Provides the core interfaces and classes for using Tribuo.
Provides the base interface and implementations of the
Model
hashing
which obscures the feature names stored in a model.Provides core classes for working with sequences of
Example
s.-
Uses of Hasher in org.tribuo
Modifier and TypeMethodDescriptionstatic <T extends Output<T>>
ImmutableDataset<T>ImmutableDataset.hashFeatureMap
(Dataset<T> dataset, Hasher hasher) Creates an immutable shallow copy of the supplied dataset, using the hasher to generate aHashedFeatureMap
which transparently maps from the feature name to the hashed variant. -
Uses of Hasher in org.tribuo.hash
Modifier and TypeClassDescriptionfinal class
Hashes names using String.hashCode().final class
Hashes Strings using the supplied MessageDigest type.final class
Hashes names using String.hashCode(), then reduces the dimension.Modifier and TypeMethodDescriptionstatic HashedFeatureMap
HashedFeatureMap.generateHashedFeatureMap
(FeatureMap map, Hasher hasher) Converts a standardFeatureMap
by hashing each entry using the supplied hash functionHasher
.ModifierConstructorDescriptionHashingTrainer
(Trainer<T> trainer, Hasher hasher) Constructs a hashing trainer using the supplied parameters. -
Uses of Hasher in org.tribuo.sequence
ModifierConstructorDescriptionHashingSequenceTrainer
(SequenceTrainer<T> trainer, Hasher hasher) Constructs a hashing sequence trainer using the supplied parameters.