perl.ai...Problems trying to predict by Ignacio J. Ortega Lopera- May 30, 2007 i&39;m getting this:Can&39;t locate object method "predict" via package"Algorithm::NaiveBayes::Model::Frequency" atusrlibperl5site_perl5.8.0AICategorizerLearnerNaiveBayes.pm line 28.when trying to get hypoteses.. for a new doc....anyone know if this is a silly oneThanks in advanceSaludos, Ignacio J. Ortega----------------------------------------------------------------Technical managerhttp:www.derecho.comhttp://www.nntp.perl.org/group/perl.ai/2007/05/msg569.html package AI::Categorizer::Collection::DBI; by Ignacio J. Ortega Lopera- May 30, 2007http://www.nntp.perl.org/group/perl.ai/2007/05/msg568.html how to use the function of "feature selection" under AI::Categorizer by jhoon- May 25, 2007 Hello,I¡¯d like to select more important features using AI::Categorizer, and somodified demo.pl as follows=== FROM === my $k = AI::Categorizer::KnowledgeSet->new( verbose => 1 );=== TO ===my $k = AI::Categorizer::KnowledgeSet->new( verbose => 1, feature_selector => new AI::Categorizer::FeatureSelector::DocFrequency(¡¡ verbose => 1,¡¡ features_kept => 1000¡¡ ));=== END ===I observed the performance according to change the..http://www.nntp.perl.org/group/perl.ai/2007/05/msg567.html Re: how to do feature selection by Alan Gibson- May 23, 2007 im not sure if this pertains to your problem exactly, but you probablywant to specify the weighting method likemy $k = AI::Categorizer::KnowledgeSet->new( verbose => 1 , features_kept = 5000, tfidf_weighting=>&39;nfc&39;);the default weighting is &39;xxx&39; which if i understand correctly doesntactually do anything.alanhttp://www.nntp.perl.org/group/perl.ai/2007/05/msg566.html how to do feature selection by Jianmin WU- May 19, 2007 hi, buddies,I am not sure if i am in the right place. :-)I am a fresh man to the perl and perl AI module.I am trying to do the NaiveBayes experiments with the help of code demo.pl inexample of the module of AI::Categorizer.Now I am confused about how to do the feature selection.The documents say that KnowledgeSet::load( ) will do feature selection andread the corpus at the same time. So, I change the construction ofKnowledgeSet indemo.pl frommy $k = AI::Categorizer::KnowledgeSet->new(...http://www.nntp.perl.org/group/perl.ai/2007/05/msg565.html |