Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: Neural nets in Caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Andrew Conway <arc@s...>
Subject: Re: Neural nets in Caml

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:

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 = [|
    |] in
    let testdataset = teachdataset in
    polyteachtest 5000 net teachdataset testdataset;

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 :-(




J'ai un bibliotech "neural network" (et autres choses) en ocaml dans

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