naive_bayes_classify
Classify categorical data rows with Naive Bayes and optional Laplace smoothing, using labeled examples to predict a query's class.
Instructions
Naive Bayes classification from categorical data rows [attr values..., class], with optional Laplace smoothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"attributes": "<attributes>",
"data": "<data>",
"query": "<query>"
},
"name": "naive_bayes_classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| query | Yes | ||
| laplace | No | ||
| attributes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |