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