logistic_regression_calc
Computes logistic regression probabilities from feature inputs and weights; optionally performs one update step using target y and learning rate alpha.
Instructions
Logistic regression probability, and (with y and alpha) one update step under both common rules.
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": {
"x": "<x>",
"weights": "<weights>"
},
"name": "logistic_regression_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | No | ||
| alpha | No | ||
| weights | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |