Re: AI::Genetic
[email protected] (Ala Qumsieh) Fri, 8 Dec 2006 07:56:16 -0800 (PST)
| Newsgroups | perl.ai |
|---|---|
| Message-ID | <[email protected]> |
--- Benjamin Tucker <[email protected]> wrote: > I don't actually have any experience with > AI::Genetic, but > Storable.pm is probably your best bet. Take a look > at how > AI::Categorizer interfaces with it: > http://search.cpan.org/src/KWILLIAMS/AI-Categorizer-0.07/lib/AI/ > > Categorizer/Storable.pm > > If you throw something like this into the bottom of > one of your perl > files, you should be able just to call > $gen->store_state('filename') and then > $gen->restore_state > ('filename') (where $gen is an instance of > AI::Genetic) [snip code] Thanks. That's an excellent suggestion. I'll add that to AI::Genetic and upload a new version soon. Thanks, --Ala ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com