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
Examples.-
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 aHashedFeatureMapwhich 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 classHashes names using String.hashCode().final classHashes Strings using the supplied MessageDigest type.final classHashes names using String.hashCode(), then reduces the dimension.Methods in org.tribuo.hash that return HasherModifier and TypeMethodDescriptionstatic HasherHasher.deserialize(org.tribuo.protos.core.HasherProto proto, String salt) Deserializes aHasherProtointo aHashersubclass.Methods in org.tribuo.hash that return types with arguments of type HasherMethods in org.tribuo.hash with parameters of type HasherModifier and TypeMethodDescriptionstatic HashedFeatureMapHashedFeatureMap.generateHashedFeatureMap(FeatureMap map, Hasher hasher) Converts a standardFeatureMapby 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.