pytorch_forecasting.utils.
get_embedding_size
Determine empirically good embedding sizes (formula taken from fastai).
n (int) – number of classes
max_size (int, optional) – maximum embedding size. Defaults to 100.
embedding size
int