Grokbase Groups Perl ai May 2007
FAQ
Hello,

I’d like to select more important features using AI::Categorizer, and so
modified 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 value of features_kept,
but the performance is always same. I’d appreciate it if you tell me how
to do the feature selection using AI::Categorizer?

Thank you very much in advance.

Jae-Hoon.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupai @
categoriesperl
postedMay 25, '07 at 9:58a
activeMay 25, '07 at 9:58a
posts1
users1
websiteperl.org

1 user in discussion

Jhoon: 1 post

People

Translate

site design / logo © 2021 Grokbase