Zum Inhalt
HALOWERK

Finopswerk

raw gini coarsest pruning transcript

Reconstruct original feature routing, class-count Gini risks and the complete freshly coupled weakest-link pruning path of a supplied small split tree, using an explicit exact simultaneous highest-tie/coarsest optimal convention; jointly verify a report without real model, prediction or vendor-conformity approval. Own mathematical coarsest tie profile;originalbook and Cythonsource not read,no native/vendorbit/model conformity or real customer inference. A schema-valid unknown is a successful.

POST https://finops.halowerk.com/v1/raw-gini-coarsest-pruning-transcript

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "rows": {
          "type": "array",
          "minItems": 8,
          "maxItems": 8,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "x": {
                "type": "array",
                "minItems": 2,
                "maxItems": 2,
                "items": {
                  "type": "integer",
                  "minimum": -3,
                  "maximum": 3
                }
              },
              "y": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "x",
              "y"
            ]
          }
        },
        "nodes": {
          "type": "array",
          "minItems": 1,
          "maxItems": 7,
          "items": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "feature": {
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "threshold": {
                    "type": "integer",
                    "minimum": -2,
                    "maximum": 2
                  },
                  "left": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 6
                  },
                  "right": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 6
                  }
                },
                "required": [
                  "feature",
                  "threshold",
                  "left",
                  "right"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "report": {
          "type": "object",
          "propertyNames": {
            "enum": [
              "n0.count",
              "n0.c0",
              "n0.c1",
              "n0.risk",
              "n1.count",
              "n1.c0",
              "n1.c1",
              "n1.risk",
              "n2.count",
              "n2.c0",
              "n2.c1",
              "n2.risk",
              "n3.count",
              "n3.c0",
              "n3.c1",
              "n3.risk",
              "n4.count",
              "n4.c0",
              "n4.c1",
              "n4.risk",
              "n5.count",
              "n5.c0",
              "n5.c1",
              "n5.risk",
              "n6.count",
              "n6.c0",
              "n6.c1",
              "n6.risk",
              "p0.alpha",
              "p0.cutmask",
              "p0.leafmask",
              "p0.risk",
              "p0.leaves",
              "p1.alpha",
              "p1.cutmask",
              "p1.leafmask",
              "p1.risk",
              "p1.leaves",
              "p2.alpha",
              "p2.cutmask",
              "p2.leafmask",
              "p2.risk",
              "p2.leaves",
              "p3.alpha",
              "p3.cutmask",
              "p3.leafmask",
              "p3.risk",
              "p3.leaves",
              "a0.n0",
              "a0.n1",
              "a0.n2",
              "a0.n3",
              "a0.n4",
              "a0.n5",
              "a0.n6",
              "a1.n0",
              "a1.n1",
              "a1.n2",
              "a1.n3",
              "a1.n4",
              "a1.n5",
              "a1.n6",
              "a2.n0",
              "a2.n1",
              "a2.n2",
              "a2.n3",
              "a2.n4",
              "a2.n5",
              "a2.n6",
              "path_length"
            ]
          },
          "additionalProperties": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "n": {
                    "type": "string",
                    "maxLength": 25,
                    "pattern": "^(?:0|-?[1-9][0-9]{0,23})$",
                    "not": {
                      "pattern": "[^0-9-]"
                    }
                  },
                  "d": {
                    "type": "string",
                    "maxLength": 24,
                    "pattern": "^[1-9][0-9]{0,23}$",
                    "not": {
                      "pattern": "[^0-9]"
                    }
                  }
                },
                "required": [
                  "n",
                  "d"
                ]
              },
              {
                "const": "inactive"
              },
              {
                "type": "null"
              }
            ]
          },
          "required": []
        }
      },
      "required": [
        "rows",
        "nodes",
        "report"
      ]
    }
  },
  "required": [
    "artifact"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "rows": [
      {
        "x": [
          -1,
          -1
        ],
        "y": 0
      },
      {
        "x": [
          -1,
          -1
        ],
        "y": 0
      },
      {
        "x": [
          -1,
          1
        ],
        "y": 0
      },
      {
        "x": [
          -1,
          1
        ],
        "y": 0
      },
      {
        "x": [
          1,
          -1
        ],
        "y": 0
      },
      {
        "x": [
          1,
          -1
        ],
        "y": 1
      },
      {
        "x": [
          1,
          1
        ],
        "y": 1
      },
      {
        "x": [
          1,
          1
        ],
        "y": 1
      }
    ],
    "nodes": [
      {
        "feature": 0,
        "threshold": 0,
        "left": 1,
        "right": 4
      },
      {
        "feature": 1,
        "threshold": 0,
        "left": 2,
        "right": 3
      },
      null,
      null,
      {
        "feature": 1,
        "threshold": 0,
        "left": 5,
        "right": 6
      },
      null,
      null
    ],
    "report": {
      "n0.count": {
        "n": "8",
        "d": "1"
      },
      "n0.c0": {
        "n": "5",
        "d": "1"
      },
      "n0.c1": {
        "n": "3",
        "d": "1"
      },
      "n0.risk": {
        "n": "15",
        "d": "32"
      },
      "n1.count": {
        "n": "4",
        "d": "1"
      },
      "n1.c0": {
        "n": "4",
        "d": "1"
      },
      "n1.c1": {
        "n": "0",
        "d": "1"
      },
      "n1.risk": {
        "n": "0",
        "d": "1"
      },
      "n2.count": {
        "n": "2",
        "d": "1"
      },
      "n2.c0": {
        "n": "2",
        "d": "1"
      },
      "n2.c1": {
        "n": "0",
        "d": "1"
      },
      "n2.risk": {
        "n": "0",
        "d": "1"
      },
      "n3.count": {
        "n": "2",
        "d": "1"
      },
      "n3.c0": {
        "n": "2",
        "d": "1"
      },
      "n3.c1": {
        "n": "0",
        "d": "1"
      },
      "n3.risk": {
        "n": "0",
        "d": "1"
      },
      "n4.count": {
        "n": "4",
        "d": "1"
      },
      "n4.c0": {
        "n": "1",
        "d": "1"
      },
      "n4.c1": {
        "n": "3",
        "d": "1"
      },
      "n4.risk": {
        "n": "3",
        "d": "16"
      },
      "n5.count": {
        "n": "2",
        "d": "1"
      },
      "n5.c0": {
        "n": "1",
        "d": "1"
      },
      "n5.c1": {
        "n": "1",
        "d": "1"
      },
      "n5.risk": {
        "n": "1",
        "d": "8"
      },
      "n6.count": {
        "n": "2",
        "d": "1"
      },
      "n6.c0": {
        "n": "0",
        "d": "1"
      },
      "n6.c1": {
        "n": "2",
        "d": "1"
      },
      "n6.risk": {
        "n": "0",
        "d": "1"
      },
      "p0.alpha": {
        "n": "0",
        "d": "1"
      },
      "p0.cutmask": {
        "n": "0",
        "d": "1"
      },
      "p0.leafmask": {
        "n": "108",
        "d": "1"
      },
      "p0.risk": {
        "n": "1",
        "d": "8"
      },
      "p0.leaves": {
        "n": "4",
        "d": "1"
      },
      "p1.alpha": {
        "n": "0",
        "d": "1"
      },
      "p1.cutmask": {
        "n": "2",
        "d": "1"
      },
      "p1.leafmask": {
        "n": "98",
        "d": "1"
      },
      "p1.risk": {
        "n": "1",
        "d": "8"
      },
      "p1.leaves": {
        "n": "3",
        "d": "1"
      },
      "p2.alpha": {
        "n": "1",
        "d": "16"
      },
      "p2.cutmask": {
        "n": "16",
        "d": "1"
      },
      "p2.leafmask": {
        "n": "18",
        "d": "1"
      },
      "p2.risk": {
        "n": "3",
        "d": "16"
      },
      "p2.leaves": {
        "n": "2",
        "d": "1"
      },
      "p3.alpha": {
        "n": "9",
        "d": "32"
      },
      "p3.cutmask": {
        "n": "1",
        "d": "1"
      },
      "p3.leafmask": {
        "n": "1",
        "d": "1"
      },
      "p3.risk": {
        "n": "15",
        "d": "32"
      },
      "p3.leaves": {
        "n": "1",
        "d": "1"
      },
      "a0.n0": {
        "n": "11",
        "d": "96"
      },
      "a0.n1": {
        "n": "0",
        "d": "1"
      },
      "a0.n2": "inactive",
      "a0.n3": "inactive",
      "a0.n4": {
        "n": "1",
        "d": "16"
      },
      "a0.n5": "inactive",
      "a0.n6": "inactive",
      "a1.n0": {
        "n": "11",
        "d": "64"
      },
      "a1.n1": "inactive",
      "a1.n2": "inactive",
      "a1.n3": "inactive",
      "a1.n4": {
        "n": "1",
        "d": "16"
      },
      "a1.n5": "inactive",
      "a1.n6": "inactive",
      "a2.n0": {
        "n": "9",
        "d": "32"
      },
      "a2.n1": "inactive",
      "a2.n2": "inactive",
      "a2.n3": "inactive",
      "a2.n4": "inactive",
      "a2.n5": "inactive",
      "a2.n6": "inactive",
      "path_length": {
        "n": "4",
        "d": "1"
      }
    }
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →