AI-NaiveBayes
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
__PACKAGE__->meta->make_immutable;
1;
__END__
# ABSTRACT: A Bayesian classifier
=encoding utf8
=head1 SYNOPSIS
# AI::NaiveBayes objects are created by AI::NaiveBayes::Learner
# but for quick start you can use the 'train' class method
# that is a shortcut using default AI::NaiveBayes::Learner settings
my $classifier = AI::NaiveBayes->train(
{
attributes => {
lib/AI/NaiveBayes.pm view on Meta::CPAN
}
}
__PACKAGE__->meta->make_immutable;
1;
=pod
=encoding UTF-8
=head1 NAME
AI::NaiveBayes - A Bayesian classifier
=head1 VERSION
version 0.04
=head1 SYNOPSIS
lib/AI/NaiveBayes/Classification.pm view on Meta::CPAN
return $best_cat, @predictors;
}
__PACKAGE__->meta->make_immutable;
1;
=pod
=encoding UTF-8
=head1 NAME
AI::NaiveBayes::Classification - The result of a bayesian classification
=head1 VERSION
version 0.04
=head1 SYNOPSIS
lib/AI/NaiveBayes/Learner.pm view on Meta::CPAN
$first->{$k} += $second->{$k};
}
}
__PACKAGE__->meta->make_immutable;
1;
=pod
=encoding UTF-8
=head1 NAME
AI::NaiveBayes::Learner - Build AI::NaiveBayes classifier from a set of training examples.
=head1 VERSION
version 0.04
=head1 SYNOPSIS
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.308 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )