#1 Added Java export

closed
nobody
None
5
2011-07-10
2010-01-08
No

Hi.

I added code to export the network to Java source code.

br, Juhani

Discussion

  • Juhani Simola

    Juhani Simola - 2010-01-08

    Adds Java export to FFnet

     
  • Juhani Simola

    Juhani Simola - 2010-01-08

    I forgot to add the new file _py2j.py to setup.py. The additional patch is here:

    Index: setup.py

    --- setup.py (.../tags/0.6.2/setup.py) (revision 8237)
    +++ setup.py (.../trunk/setup.py) (revision 8237)
    @@ -28,6 +28,7 @@
    'ffnet._version',
    'ffnet.fortran.__init__',
    'ffnet.tools._py2f',
    + 'ffnet.tools._py2j',
    'ffnet.tools.drawffnet'],
    ext_modules = [ext1, ext2],
    data_files = [('ffnet/examples', ['examples/xor.py',

     
  • Marek

    Marek - 2010-01-26

    Hi!
    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...

    Greetings,
    Marek

     
  • Juhani Simola

    Juhani Simola - 2010-01-27

    Hi!

    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.

    br, Juhani

     
  • Marek

    Marek - 2010-01-28

    Hallo!
    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).
    Greetings

     
  • Marek

    Marek - 2011-07-10
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks