automl / automl/Auto-PyTorch

Replace `Embedding` to use `nn.Embedding` from pytorch

Open
#428 0 comments 0 reactions 1 assignee Claimed by @ravinkohli View on GitHub
enhancement
Dominant language
Python
Stars
2.5k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

Due to our current implementation of Embedding module, we are forced to one-hot encode all categorical columns. This leads to an explosion in the memory usage. We can avoid this by using `nn.Embedding` from pytorch which has the same functionality but does not need one-hot encoded columns. This will also allow us to one hot encode the columns which have number of categories less than `min_categories_for_embedding`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.