Quadratic Regression
calculator_quadratic_regressionFit y = ax² + bx + c with R² and optional prediction.
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>",
"y": "<y>"
},
"name": "calculator_quadratic_regression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X data. | |
| y | Yes | Y data. | |
| predict_x | No | Optional prediction X. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| c | Yes | ||
| equation | No | ||
| expression | Yes |