Naive Bayes group of entries
OperationsSets the initial probability
New(prob:Float)
Name | Type | Description |
---|---|---|
prob | Float | initial probability |
Adds an entry
method : public : AddEntry(entry:BayesEntry) ~ Bool
Name | Type | Description |
---|---|---|
entry | BayesEntry | entry to add |
Type | Description |
---|---|
Bool | true if added, false otherwise |
Gets entries
method : public : GetEntries() ~ Map<String,BayesEntry>
Type | Description |
---|---|
Map<String,BayesEntry> | entries |
Gets the initial probability
method : public : GetProbability() ~ Float
Type | Description |
---|---|
Float | probability |