Statistics::Candidates 0.9 review
DownloadCandidates is a Perl5 module for manipulating candidate features (help module for Statistics::MaxEntropy). SYNOPSIS use Stati
|
|
Candidates is a Perl5 module for manipulating candidate features (help module for Statistics::MaxEntropy).
SYNOPSIS
use Statistics::Candidates;
# create a new candidates object and read candidate features
$candidates = Statistics::Candidates->new($some_file);
# checks for constant candidate features
$candidates->check();
# writes candidates that were not added to a file
$candidates->write($some_other_file);
# clear the administration about being added or not ...
$candidates->clear();
The Candidates object is for storage, retrieval, and manipulation of candidate features.
The reason for separating this code from Maxentropy.pm is that a set of candidate features should be considered a separate object. Blessing them into MaxEntropy would be unnatural.
Also this code is simpler and more stable than that in the MaxEntropy module.
This module requires Bit::SparseVector.
Requirements:
Perl
Statistics::Candidates 0.9 search tags