AI-NaiveBayes
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
( run in 0.254 second using v1.01-cache-2.11-cpan-a5abf4f5562 )