# Subscription Request Multiclass Log Loss Calculator

> Subscription Request Multiclass Log Loss Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Computes multiclass log loss for subscription request text classification models across upgrade, downgrade, cancel, and renew classes

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-subscription-request-log-loss?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/subscription-request-multiclass-log-loss-calculator-09f3687f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2nd5ld-2Q70JGs7Evm8b-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability subscription-request-multiclass-log-loss-calculator-09f3687f -d '<json body>'
```

Example prompt: Can you calculate the multiclass log loss for my subscription request classifier? I have 50 labeled records where each one has the actual label (upgrade, downgrade, cancel, or renew), my model's predicted label, and the four class probabilities — for example, record 'sub-001' with text 'I want to move to the Pro tier', actual label 'upgrade', predicted 'upgrade', and probabilities [0.85, 0.05, 0.05, 0.05].

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC) multiclass log loss evaluation specifically for subscription request text classification with the four fixed classes (upgrade, downgrade, cancel, renew) and up to 200 records. It is ideal for lightweight model evaluation pipelines, quick benchmarking, or validation checks where you already have predicted probabilities and ground truth labels and do not need hosted model training or inference.

## Known failure modes

- Probability arrays not summing to 1.0 may cause computation errors
- Records with fewer or more than 4 probability values will be rejected due to minItems/maxItems constraint
- Invalid or missing actual/predicted enum values (must be upgrade, downgrade, cancel, or renew) will fail validation
- Exceeding 200 records per call will be rejected
- Empty records array returns no meaningful output
- Record IDs exceeding 80 characters or missing entirely cause schema validation failure

## How this service works

Subscription request - Multiclass log loss: Multiclass log loss for Subscription request. Up to 200 supplied labelled text records. Local dataset tools, evaluation and small naive-Bayes baselines; no hosted model or foundation-model training. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded multiclass log loss deliverable.

## Output

Returns a bounded multiclass log loss deliverable computed from the supplied labeled records, including the aggregate cross-entropy log loss score across the four subscription request classes (upgrade, downgrade, cancel, renew), based on predicted probability vectors versus actual labels.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text",
     "actual",
     "predicted",
     "probabilities"
    ],
    "properties": {
     "id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "default": "",
      "maxLength": 1000
     },
     "actual": {
      "enum": [
       "upgrade",
       "downgrade",
       "cancel",
       "renew"
      ],
      "type": "string"
     },
     "predicted": {
      "enum": [
       "upgrade",
       "downgrade",
       "cancel",
       "renew"
      ],
      "type": "string"
     },
     "probabilities": {
      "type": "array",
      "items": {
       "type": "number",
       "default": 0,
       "maximum": 1,
       "minimum": 0
      },
      "default": [],
      "maxItems": 4,
      "minItems": 4
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "upgrade sample document number 0 for this supplied dataset.",
     "actual": "upgrade",
     "predicted": "upgrade",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-1",
     "text": "upgrade sample document number 1 for this supplied dataset.",
     "actual": "upgrade",
     "predicted": "upgrade",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-2",
     "text": "upgrade sample document number 2 for this supplied dataset.",
     "actual": "upgrade",
     "predicted": "upgrade",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-0",
     "text": "downgrade sample document number 0 for this supplied dataset.",
     "actual": "downgrade",
     "predicted": "downgrade",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-1",
     "text": "downgrade sample document number 1 for this supplied dataset.",
     "actual": "downgrade",
     "predicted": "downgrade",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "i
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/subscription-request-multiclass-log-loss-calculator-09f3687f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
