regression
ActiveTool of WingmanProtocol Agent Gateway
declared in 1.5.1
Linear Regression (least squares) — Best-fit slope, intercept, r^2 and an optional prediction from paired x/y data.
Parameters schema
{
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "array",
"description": "Array of x values (length >= 2)"
},
"y": {
"type": "array",
"description": "Array of y values (same length as x)"
},
"predict_x": {
"type": "number",
"description": "Optional x to predict y for"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
WingmanProtocol Agent Gateway
https://github.com/WingmanProtocol-Agent-Gateway/wingman-agent-gateway
1/7 registries