/kaggle-allstate-purchase

Code used to achieve 9th/1568 on private leaderboard on Kaggle's 'Allstate Purchase Prediction Challenge'

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

kaggle-allstate-purchase

Code used to achieve 9th/1568 on private leaderboard on Kaggle's 'Allstate Purchase Prediction Challenge'

Enviroment Used: Python 2.7.5, sklearn 0.14.1, Windows 7, MySQL 5.6

How to use:

  • 0 - At least 1GB of disk space for datafiles
  • 1 - create a MySQL Database.
  • 2 - Update connection parameters at "run_once.py" and "parse.py" files
  • 3 - download the datafiles from "http://www.kaggle.com/c/allstate-purchase-prediction-challenge/data" unzip and put it on ".\data" folder
  • 3 - execute "run_once.py" to setup the Database
  • 4 - execute "ensemble.py" to perform the prediction
  • 5 - enjoy :)