caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Neural nets in Caml
@ 1997-10-06 14:36 Vincent Leleu
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Leleu @ 1997-10-06 14:36 UTC (permalink / raw)
  To: caml-list




Hi All,

Has anyone implemented a neural network library in caml/ocaml ?

I am searching for a library which gives the user the ability to create
neuron objects, network objects, link them and perform simple propagation
task.

Thank you.

Vincent Leleu.

Computing Research Group
Anglia Polytechnic University
Phone +44 1245 493131 ext. 3416
E-mail vincent@parc.anglia.ac.uk






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re:  Neural nets in Caml
@ 1997-10-06 18:26 Andrew Conway
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Conway @ 1997-10-06 18:26 UTC (permalink / raw)
  To: caml-list, vincent


In response to the request for neural network software in caml/ocaml:

I have some brief neural network routines in ocaml in my general
library which is available from:

   http://sequence-www.stanford.edu/~arc/publib.html

A trivial test function to show backpropagation on a neural network
with 2 input nodes, 2 nodes in a hidden layer, and one output node
(hence [|2;2;1|] argument to create) is:

let selftest () =
    let net = create [|2;2;1|] in
    let teachdataset = [|
        ([|1.0;1.0|],[|0.0|]);
        ([|1.0;0.0|],[|1.0|]);
        ([|0.0;1.0|],[|1.0|]);
        ([|0.0;0.0|],[|0.0|])
    |] in
    let testdataset = teachdataset in
    polyteachtest 5000 net teachdataset testdataset;
    net
;;

Warning: I don't actually use neural networks, so I haven't tested it all
that much. I had an application that I thought could use them, wrote
the library, and then abandoned it.

Warning: I think that generally neural networks are the wrong way to solve
a problem.

There are lots of other things in the library, most with a one line
comment :-(

Regards,

Andrew.

-----------------

J'ai un bibliotech "neural network" (et autres choses) en ocaml dans 
	
   http://sequence-www.stanford.edu/~arc/publib.html

Malheureusement, il n'y a pas beaucoup de documentation. Et presque
tout est en Anglais. 

Amities,

Andrew.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-07 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-06 14:36 Neural nets in Caml Vincent Leleu
1997-10-06 18:26 Andrew Conway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).