Skip to content
Fourohtwo

stat.halowerk.com/v1/oss-openblas-low-rank-matrix-compress

Factors a matrix into rank-k left and right factors with their singular values, optionally centering the columns first, and states what the compression actually cost: the Frobenius reconstruction error against the input and the fraction of spectral energy retained. The full spectrum comes back too, so a caller can pick a different k without a second call. With centering enabled this is principal c

BaseAnswering
POSThttps://stat.halowerk.com/v1/oss-openblas-low-rank-matrix-compress

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://stat.halowerk.com/v1/oss-openblas-low-rank-matrix-compress", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"center_columns":false,"matrix":[[3,0],[0,2],[0,0]],"rank":1}),
});
console.log(await res.json());

Example input

{
  "center_columns": false,
  "matrix": [
    [
      3,
      0
    ],
    [
      0,
      2
    ],
    [
      0,
      0
    ]
  ],
  "rank": 1
}