Model
hashing
which obscures the feature names stored in a model.See: Description
Class | Description |
---|---|
HashCodeHasher |
Hashes names using String.hashCode().
|
HashCodeHasher.HashCodeHasherProvenance |
Provenance for the
HashCodeHasher . |
HashedFeatureMap |
A
FeatureMap used by the HashingTrainer to
provide feature name hashing and guarantee that the Model
does not contain feature name information, but still works
with unhashed features names. |
Hasher |
An abstract base class for hash functions used to hash the names of features.
|
HashingOptions |
An Options implementation which provides CLI arguments for the model hashing functionality.
|
HashingTrainer<T extends Output<T>> | |
MessageDigestHasher |
Hashes Strings using the supplied MessageDigest type.
|
MessageDigestHasher.MessageDigestHasherProvenance |
Provenance for
MessageDigestHasher . |
ModHashCodeHasher |
Hashes names using String.hashCode(), then reduces the dimension.
|
ModHashCodeHasher.ModHashCodeHasherProvenance |
Provenance for the
ModHashCodeHasher . |
Enum | Description |
---|---|
HashingOptions.ModelHashingType |
Supported types of hashes in CLI programs.
|
Model
hashing
which obscures the feature names stored in a model.
The base interface is Hasher
, which has three implementations:
HashCodeHasher
which uses String.hashCode(),
ModHashCodeHasher
which uses String.hashCode() and remaps the output into
a specific range, and MessageDigestHasher
which uses a
MessageDigest
implementation to perform the hashing. Only MessageDigestHasher provides
security guarantees suitable for production usage.
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.