Created
February 19, 2021 22:54
-
-
Save jrzaurin/67cc6df66b042432e0ae669d44dadf92 to your computer and use it in GitHub Desktop.
TabResnet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pytorch_widedeep.models import TabResnet | |
tabresnet = TabResnet( | |
column_idx=tab_preprocessor.column_idx, | |
embed_input=tab_preprocessor.embeddings_input, | |
continuous_cols=cont_cols, | |
batchnorm_cont=True, | |
blocks_dims=[200, 100, 100], | |
mlp_hidden_dims=[100, 50], | |
) | |
model = WideDeep(deeptabular=tabresnet) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment