← Market

Stats · Regression

Ordinary least squares simple linear regression (y = slope*x + intercept) with R-squared.

POST https://x402.agentindex.world/stats/regression

0.001 USDC on Base · payTo 0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.001 USDC · payTo 0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d · via cdp · settles direct
{
  "x": [
    1,
    2,
    3,
    4,
    5
  ],
  "y": [
    2,
    4,
    6,
    8,
    10
  ]
}
{
  "intercept": 0,
  "r_squared": 1,
  "slope": 2
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score72 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency418 ms
Paid calls (30d, on-chain)26 calls · 6 buyers · shared price cohort of 61
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://x402.agentindex.world/stats/regression · input in body · spec from live-challenge

Input schema
{
  "properties": {
    "x": {
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "title": "X",
      "type": "array"
    },
    "y": {
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "title": "Y",
      "type": "array"
    }
  },
  "required": [
    "x",
    "y"
  ],
  "title": "RegressionInput",
  "type": "object"
}
Output schema
{
  "type": "object",
  "properties": {
    "slope": {
      "title": "Slope",
      "type": "number"
    },
    "intercept": {
      "title": "Intercept",
      "type": "number"
    },
    "r_squared": {
      "title": "R Squared",
      "type": "number"
    }
  },
  "required": [
    "slope",
    "intercept",
    "r_squared"
  ],
  "title": "RegressionOutput"
}
curl -i -X POST 'https://x402.agentindex.world/stats/regression' \
  -H 'content-type: application/json' -d '{"x":[1,2,3,4,5],"y":[2,4,6,8,10]}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)