AI::Categorizer::Learner::SVM 0.07 review

Download
by rbytes.net on

AI::Categorizer::Learner::SVM is a Perl module to support Vector Machine Learner. SYNOPSIS use AI::Categorizer::Learner::SVM;

License: Perl Artistic License
File size: 249K
Developer: Ken Williams
0 stars award from rbytes.net

AI::Categorizer::Learner::SVM is a Perl module to support Vector Machine Learner.

SYNOPSIS

use AI::Categorizer::Learner::SVM;

# Here $k is an AI::Categorizer::KnowledgeSet object

my $l = new AI::Categorizer::Learner::SVM(...parameters...);
$l->train(knowledge_set => $k);
$l->save_state('filename');

... time passes ...

$l = AI::Categorizer::Learner->restore_state('filename');
while (my $document = ... ) { # An AI::Categorizer::Document object
my $hypothesis = $l->categorize($document);
print "Best assigned category: ", $hypothesis->best_category, "n";
}

This class implements a Support Vector Machine machine learner, using Cory Spencer's Algorithm::SVM module. In lots of the recent academic literature, SVMs perform very well for text categorization.

Requirements:
Perl

AI::Categorizer::Learner::SVM 0.07 search tags