I added code to export the network to Java source code.
Adds Java export to FFnet
I forgot to add the new file _py2j.py to setup.py. The additional patch is here:
--- setup.py (.../tags/0.6.2/setup.py) (revision 8237)
+++ setup.py (.../trunk/setup.py) (revision 8237)
@@ -28,6 +28,7 @@
ext_modules = [ext1, ext2],
data_files = [('ffnet/examples', ['examples/xor.py',
Thanks for patches. They are in trunk now.
BTW: maybe you could translate to java also normdiff function (to get the network derivatives), just to complete the tool... Obviously if you have time and if you interested in this...
I left the normdiff function untranslated since I thought it only useful for training the network. If there is use for it, I will look into it. Can't say anything about the schedule, though.
ffnet can calculate exact derivatives of the network outputs versus its inputs (one of the unique features of ffnet :)). This is done by normdiff. These values are definitely not the same derivatives which are used in training (where derivatives versus weights are used).
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.