bquast / rnn

Recurrent Neural Networks in R
https://qua.st/rnn
73 stars 28 forks source link

model object from start and user defined functions #9

Closed DimitriF closed 8 years ago

DimitriF commented 8 years ago

lots of change here:

I created the model object from the start (almost...). then this object in this list are called and update all along the function.

I also create the logic for user define function at different point:

This is the first step before integrating of the LSTM, there is then several steps where we can call other functions specific for both:

there will be a trick between feed forward and back propagation in order to access the error but I think the logic is the same for rnn and lstm so it should do.

bquast commented 8 years ago

Ok the travis check fails because it is using the CRAN version of sigmoid which doesn't have the tanh_output_to_derivive function yet. I will submit the latest version of sigmoid to CRAN package now.