Dimitri,

I have dabbled in nn in J. Your presentation is very professional and clean
looking to me.
As others have said, your addon seems really desirable.

Just playing with your version of sigmoid relative to one I have used in
the past taught me a great lesson about timing. In the excerpt below, my
version of sigmoid(b) is much slower than yours, and according to my
similar experiment using j807, j9 has made your version of sigmoid even
better so it matches the space required of sigmoid(b), as well (in j807,
your sigmoid demanded more space).

Last login: Fri Feb 14 14:53:43 on ttys004
server:~ brian$ /Users/brian/j901/bin/jconsole ; exit;
   JVERSION
Engine: j901/j64avx/darwin
Release-c: commercial/2020-01-11T12:22:31
Library: 9.01.20
Platform: Darwin 64
Installer: J901 install
InstallPath: /users/brian/j901
Contact: www.jsoftware.com
   sigmoid=: %@: (>: @:( ^@:-))
   sigmoidb=: %@:>:@^@-
   5!:6<'sigmoid'
%@:(>:@:(^@:-))
   5!:6<'sigmoidb'   NB. to show details
((%@:>:)@^)@-
   base =. 1e6?.@$0
   sign  =. 1e6?.@$2
   val =. (_1+2*sign)*base
   6{.val   NB. to show examples
_0.038363 0.329284 _0.335644 0.985972 0.0583756 _0.282326
   timespacex'sigmoid val'     NB. MUCH faster
0.016461 8.38963e6
   timespacex'sigmoidb val'
0.910234 8.39002e6



On Wed, Feb 19, 2020 at 5:51 AM Dimitri Georganas <d...@biodys.com> wrote:

> Hi,
>
> I've started using J last year when I was looking for a computer
> language to implement a neural network to gain some insight into some
> complex chemical reactions. I uploaded the code to GitHub
> (dimgeo/neural), and I was wondering if there's any interest in having
> something like this as an addon. If so, I will trim the code, add a
> locale and the usual exports to make the functions accessible from
> other applications in the next update.
>
> Best regards,
>
> Dimitri Georganas
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to