Skip to content

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

Open
gabrieltseng wants to merge 5 commits intomasterfrom
models/month_embedding
Open

[WIP] Add an embedding layer for the months#120
gabrieltseng wants to merge 5 commits intomasterfrom
models/month_embedding

Conversation

@gabrieltseng
Copy link
Copy Markdown
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
Copy Markdown
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