Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add an embedding layer for the months #120

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gabrieltseng
Copy link
Contributor

@gabrieltseng gabrieltseng commented Aug 27, 2019

As per Yasser's comments, replaces the one hot encoding with an embedding.

Currently, the size of the embedding is fixed at 12, but if this works well this could become an additional argument. The size of the embedding is an additional argument - if None is passed, the prediction month isn't passed to the model.

Also, removes the EALSTM cell written using nn.Modules, since the original one works fine with shap.

@gabrieltseng gabrieltseng added modelling wip Work in progress - not ready for merging labels Aug 27, 2019
@tommylees112
Copy link
Contributor

@gabrieltseng is this still good to merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modelling wip Work in progress - not ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants