Uses of Class
org.tribuo.hash.Hasher
Packages that use 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
Methods in org.tribuo with parameters of type HasherModifier 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
Subclasses of Hasher in org.tribuo.hashModifier 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.Methods in org.tribuo.hash that return types with arguments of type HasherMethods in org.tribuo.hash with parameters of type HasherModifier and TypeMethodDescriptionstatic HashedFeatureMap
HashedFeatureMap.generateHashedFeatureMap
(FeatureMap map, Hasher hasher) Converts a standardFeatureMap
by hashing each entry using the supplied hash functionHasher
.Constructors in org.tribuo.hash with parameters of type HasherModifierConstructorDescriptionHashingTrainer
(Trainer<T> trainer, Hasher hasher) Constructs a hashing trainer using the supplied parameters. -
Uses of Hasher in org.tribuo.sequence
Constructors in org.tribuo.sequence with parameters of type HasherModifierConstructorDescriptionHashingSequenceTrainer
(SequenceTrainer<T> trainer, Hasher hasher) Constructs a hashing sequence trainer using the supplied parameters.