lmjohns3 / theanets

Neural network toolkit for Python
http://theanets.rtfd.org
MIT License
328 stars 73 forks source link

new feature request: Allow theanets.recurrent.batches(...) to accept a pandas dataframe #101

Open kzk2000 opened 9 years ago

kzk2000 commented 9 years ago

Goal: Predict multivariate time-series with exogenous variables

Assuming a pandas DataFrame with T rows and M+N columns, where each row t represents one time stamp, M columns represent the corresponding RNN output at time t, and N columns represent the corresponding RNN input at time t.

Ideally, the user can hand the dataframe, or two data frames, say, X (TxN) for the input and y (TxM) for the output, to the theanets API and the API takes care of reformatting it into the required 3 dimensional format required to train RNNs.