No description, website, or topics provided.
Jupyter Notebook Python
Latest commit e7f295f Apr 27, 2016 @entron Adopt keras 1.0 API

This is the code used in the paper "Entity Embeddings of Categorical Variables". If you want to get the original version of the code used for the Kaggle competition, please use the Kaggle branch.

To run the code one needs first download and unzip the train.csv and store.csv files on Kaggle and put them inside this folder.

The following packages is need if you want to recover the result in the paper (we used python 3):

pip3 install -U scikit-learn
pip3 install -U xgboost
pip3 install -U keras

Please refer to Keras for more details regarding isntalling keras.

Next run the following scripts to extract csv files and prepare features:


To run the models:


You can anaylize the embeddings with the ipython notebook included. This is the learned embeeding of German States printed in 2D (with the Kaggle branch):

and this is the learned embeddings of 1115 Rossmann stores printed in 3D: