Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
cat-nn.png
model.png

README.md

Modeling categorical features using NN's

This project contains a small sample of a neural net modeled with Keras. The gist of the project is that categorical features are modelled by replacing each categorical feature with a mini net built of one dummy feature per level and on top one linear node. See the image for a visual hint:

Categorical

This is a practical example of how NN can be made to shape data. The code uses the Keras model functional API to build the model.

Note

The data files are not included, these are part of a Kaggle competition.

Dependencies

  • Keras
  • TensorFlow
  • hd5py
  • numpy
  • pandas
  • sklearn
  • pydot 1.0.2
  • graphviz

Vizualization

Keras provides vizualization: Model

You can’t perform that action at this time.