develooper Front page | perl.ai | Postings from December 2006

Re: AI::Genetic

Thread Previous | Thread Next
From:
Ala Qumsieh
Date:
December 8, 2006 07:56
Subject:
Re: AI::Genetic
Message ID:
738162.75700.qm@web52408.mail.yahoo.com

--- Benjamin Tucker <ben@greenriver.org> 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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About