Creating your own estimator in scikit-learn

I had an interesting problem in my work and I finally had to get to something I'd been thinking for some time now. My problem consists of using Recurrent Neural Networks (which were implemented in Lua here), to which I had to input some text files preprocessed by Python. It