Re: AI::Genetic
[email protected] (Gregg Allen) Fri, 8 Dec 2006 17:11:51 -0700
| Newsgroups | perl.ai |
|---|---|
| Message-ID | <[email protected]> |
Awesome! That helped a lot. I'm looking forward to your new and improved module. Thanks for creating that module, in the first place, also. When I first discovered the module about a year ago, I ran about a dozen random optimization problems from my graduate level operations research textbook from 25 years ago. I didn't find a single one it couldn't solve in less than a few minutes. (Mere seconds in most cases.) Thanks! Gregg Allen Cerebra, Inc. On Dec 8, 2006, at 8:56 AM, Ala Qumsieh wrote: > > --- 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