@jeremy How can we edit/send a push request to the notebooks.
I worked on the rossmann notebook and found a bug:
In Create Models. there are two cells with following content
-
Cell
map_train = split_cols(cat_map_train) + [contin_map_train]
map_valid = split_cols(cat_map_valid) + [contin_map_valid] -
Cell
map_train = split_cols(cat_map_train) + split_cols(contin_map_train)
map_valid = split_cols(cat_map_valid) + split_cols(contin_map_valid)
If I execute it in this order, the 2nd cell will not fit with the format of the model later:
model = Model([inp for inp,emb in embs] + [contin_inp], x)
I need to execute only the first cell and then the format/shape of the arrays fits to the configuration of the model.
The difference is:
- Cell: The map is an array with # of emb + 1 array, which contains for each continoues variable one array
- Cell: The map is an array with # of emb + # of continous variables
When I used the 2nd Cell, the input for the model is too large because the continoues variables are not packed in one array.