rsepassi/insider-model — pull request #1 by w1zeman1p (2014-09-20 20:56:05+00:00)
Title: Configure db

Does some stuff to use hstore and the json blob in the db to extract a few good features.
adds a gitignore and some documentation to the readme.

When I run `python train.py` I'm getting this error:

```sh
Traceback (most recent call last):
File "train.py", line 81, in
model = train()
File "train.py", line 31, in train
X, y = vectorize_batch(batch)
File "train.py", line 73, in vectorize_batch
return (df.drop('price_change').values, df['price_change'].values)
File "/usr/local/lib/python2.7/site-packages/pandas/core/generic.py", line 1464, in drop
new_axis = axis.drop(labels)
File "/usr/local/lib/python2.7/site-packages/pandas/core/index.py", line 1831, in drop
raise ValueError('labels %s not contained in axis' % labels[mask])
ValueError: labels ['price_change'] not contained in axis
```

My intuition is that the labels need to be set differently in the initialization of the pd.DataFrame call.