[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] Neural Network DB Serialization?
Well, my partner and I are using JOONE (Java
Object-Oriented Neural Engine) to implement our ANNs:
http://www.jooneworld.com/index.html
Its core engine contains a serializing function that
easily allows you to save off networks to file and
recall them for use.
But since we are actually using a genetic algorithm
that maps a genotype to phenotype, we store all of our
neural nets in XML, which looks kind of like this:
<chromosome>
<neurongene id=1 type=input />
<connectiongene id=6 from="1to2" weight="0.28944" />
<neurongene id=2 type=hidden />
<connectiongene id=6 from="2to3" weight="-1.4892" />
<neurongene id=3 type=output />
</chromosome>
And we have a Transcriber object that builds our
neural net objects from the chromosome XML. So we
persist all of our networks in XML.
Hope this helps.
Derek
--- Thomas Johnson <thomas_johnson@xxxxxxxxxxxxxxxxx> wrote:
> Does anyone want to share their methods for
> serializing (i.e., saving
> for later use) neural network topologies and
> weights, specifically to
> databases? Is there an elegant way to do this? Right
> now I'm thinking
> one table that contains the network's inputs,
> outputs, and a primary
> key; one table that contains the number of neurons
> in each layer for the
> network; and one table that contains the weights for
> each neuron in each
> layer. However, that seems messy to me and it feels
> like there ought to
> be a more elegant way of doing this. Any
> suggestions?
>
> Thomas
>
> --
> Thomas Johnson <thomas_johnson@xxxxxxxxxxxxxxxxx>
> _______________________________________________
> computer-go mailing list
> computer-go@xxxxxxxxxxxxxxxxx
> http://computer-go.org/mailman/listinfo/computer-go
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://computer-go.org/mailman/listinfo/computer-go