1
If you want to make an inference on an order where a categorical variable was not seen in the training data, you could train the model on a hash bucket representation of that variable.
If using tensorflow, you can leverage:
https://www.tensorflow.org/api_docs/python/tf/feature_column/categorical_column_with_hash_bucket
Or implement yourself.
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
predictive-modeling × 963machine-learning × 420
python × 121
regression × 120
time-series × 111
classification × 102
data-mining × 93
r × 76
statistics × 66
deep-learning × 58
prediction × 57
scikit-learn × 54
neural-network × 52
random-forest × 44
feature-selection × 39
machine-learning-model × 37
dataset × 34
logistic-regression × 33
model-selection × 33
data-science-model × 29
decision-trees × 26
linear-regression × 25
data-cleaning × 22
xgboost × 22
recommender-system × 22