v2026.5.3
All Bundles
Bundle Machine learning library with linear regression, logistic regression, k-means clustering, and matrix operations. Designed for tabular data; supports training, prediction, and model evaluation. Compile with -lib ml.

BayesEntry

Naive Bayes entry of term with counts

Operations

GetCount #

Get the entry count

method : public : GetCount() ~ Int

Return

TypeDescription
Intentry count

GetName #

Get the entry name

method : public : GetName() ~ String

Return

TypeDescription
Stringentry name

New # constructor

Constructor

New(name:String, count:Int)

Parameters

NameTypeDescription
nameStringentry name
countIntcount of occurrences

SetCount #

Set the entry count

method : public : SetCount(count:Int) ~ Nil

Parameters

NameTypeDescription
countIntentry count