Find probably mislabelled text examples
denk.halowerk.com/v1/label-noise-detect
Find probably mislabelled text examples: items whose nearest neighbours (TF-IDF cosine) mostly carry a different label. Builds TF-IDF vectors for up to 5000 labelled texts and, for each item, looks at its k nearest neighbours by cosine similarity. Items where at least the given share of neighbours agree on another label are reported with the suggested label, the agreement and the most similar neig
POST
https://denk.halowerk.com/v1/label-noise-detectUptime100% 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://denk.halowerk.com/v1/label-noise-detect", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"items":[{"label":"billing","text":"refund my order please"},{"label":"billing","text":"refund for order 12"},{"label":"shipping","text":"order refund missing"},{"label":"shipping","text":"parcel not delivered yet"},{"label":"shipping","text":"delivery delayed parcel"}],"k":2}),
});
console.log(await res.json());Example input
{
"items": [
{
"label": "billing",
"text": "refund my order please"
},
{
"label": "billing",
"text": "refund for order 12"
},
{
"label": "shipping",
"text": "order refund missing"
},
{
"label": "shipping",
"text": "parcel not delivered yet"
},
{
"label": "shipping",
"text": "delivery delayed parcel"
}
],
"k": 2
}