← Back to directory

Compute the unique weighted least-squares fit on a captured rooted tree: minimiz...

https://datenvertrag.halowerk.com/v1/tree-isotonic-regression

Overview

Compute the unique weighted least-squares fit on a captured rooted tree: minimize sum weights[i]*(fit[i]-values[i])^2 subject to fit[parent[i]] <= fit[i]. Return the entire fit and objective as reduced numerator/denominator strings, maximal connected equal-value blocks, and exact nonnegative KKT edge multipliers for the unhalved objective. Multipliers are indexed by child; root entry is zero. Nodes are numbered in ancestor-first order: parents[0]=-1 and 0<=parents[i]<i.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider datenvertrag
Source bazaar
Indexed 2026-11-24 12:32:20

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "claim": [ "1/1", "1/1", "4/1" ], "tree": { "parents": [ -1, 0, 0 ], "values": [ 3, 0, 4 ], "weights": [ 1, 2, 1 ] } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "state": "observed", "value": { "blocks": [ [ 0, 1 ], [ 2 ] ], "certified": true, "claimed_matches": true, "edge_multipliers": [ "0/1", "4/1", "0/1" ], "fit": [ "1/1", "1/1", "4/1" ], "missing": [], "objective": "6/1" } } }, "type": "json" }