[ML] Use hashing for categorical data
Open
:ml/DataFrameAnalysis
>feature
- Dominant language
- C++
- Stars
- 157
- Forks
- 67
- Avg merge
- 12h 48m
- Merged PRs (30d)
- 16
Description
Model inference definition can potentially reveal personally identifiable information used in categorical encoding maps. This is usually not a problem since the access permissions for reviewing the model definitions are the same as for reviewing the training datasets where this PII occurred.
However, there is no reason to have original categorical strings stored in the model. For the learning algorithm, it is sufficient to use the distinct representation of the categories produced by a cryptographic hash function.
Note that the encodings need to be unique only within the same feature, which reduces the complexity of the hash function
Contributor guide
Assessment
This issue has not been assessed yet.