Zum Inhalt
HALOWERK

Finopswerk

finite baum welch reestimation

Reconstruct all supplied finite Baum-Welch reestimation rounds from original categorical symbols and initial probabilities, including genuinely fresh expectations under each updated model. Exact conditional rational arithmetic; no actual training/model approval. Fixed rounds, undefined normalizations retained, bounded exact fraction descriptors. A schema-valid unknown is a successful result at the same fixed price. Invalid input raises native HTTP400 before settlement. An additional.

POST https://finops.halowerk.com/v1/finite-baum-welch-reestimation

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
initial_weightsarrayJa
transition_weightsarrayJa
emission_weightsarrayJa
observationsarrayJa
roundsintegerJa
claimarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "initial_weights": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 8
      },
      "minItems": 2,
      "maxItems": 2
    },
    "transition_weights": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 8
        },
        "minItems": 2,
        "maxItems": 2
      },
      "minItems": 2,
      "maxItems": 2
    },
    "emission_weights": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 8
        },
        "minItems": 2,
        "maxItems": 2
      },
      "minItems": 2,
      "maxItems": 2
    },
    "observations": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1
      },
      "minItems": 1,
      "maxItems": 4
    },
    "rounds": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2
    },
    "claim": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "round": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 2
              },
              {
                "type": "null"
              }
            ]
          },
          "phase": {
            "anyOf": [
              {
                "enum": [
                  "updated",
                  "undefined_update",
                  "zero_likelihood",
                  "unavailable_model"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "likelihood": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "n": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 6000,
                        "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])"
                      },
                      "d": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 6000,
                        "pattern": "^[1-9][0-9]*(?![\\s\\S])"
                      }
                    },
                    "required": [
                      "n",
                      "d"
                    ]
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "undefined": {
                        "const": true
                      }
                    },
                    "required": [
                      "undefined"
                    ]
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "initial": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "n": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 6000,
                          "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])"
                        },
                        "d": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 6000,
                          "pattern": "^[1-9][0-9]*(?![\\s\\S])"
                        }
                      },
                      "required": [
                        "n",
                        "d"
                      ]
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "undefined": {
                          "const": true
                        }
                      },
                      "required": [
                        "undefined"
                      ]
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "minItems": 2,
            "maxItems": 2
          },
          "transition": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "n": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 6000,
                            "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])"
                          },
                          "d": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 6000,
                            "pattern": "^[1-9][0-9]*(?![\\s\\S])"
                          }
                        },
                        "required": [
                          "n",
                          "d"
                        ]
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "undefined": {
                            "const": true
                          }
                        },
                        "required": [
                          "undefined"
                        ]
                      }
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "minItems": 2,
              "maxItems": 2
            },
            "minItems": 2,
            "maxItems": 2
          },
          "emission": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "n": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 6000,
                            "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])"
                          },
                          "d": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 6000,
                            "pattern": "^[1-9][0-9]*(?![\\s\\S])"
                          }
                        },
                        "required": [
                          "n",
                          "d"
                        ]
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "undefined": {
                            "const": true
                          }
                        },
                        "required": [
                          "undefined"
                        ]
                      }
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "minItems": 2,
              "maxItems": 2
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "required": [
          "round",
          "phase",
          "likelihood",
          "initial",
          "transition",
          "emission"
        ]
      },
      "minItems": 0,
      "maxItems": 3
    }
  },
  "required": [
    "initial_weights",
    "transition_weights",
    "emission_weights",
    "observations",
    "rounds",
    "claim"
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "initial_weights": [
    2,
    1
  ],
  "transition_weights": [
    [
      3,
      1
    ],
    [
      1,
      3
    ]
  ],
  "emission_weights": [
    [
      3,
      1
    ],
    [
      1,
      3
    ]
  ],
  "observations": [
    0,
    0,
    1,
    0
  ],
  "rounds": 2,
  "claim": [
    {
      "round": 0,
      "phase": "updated",
      "likelihood": {
        "n": "69",
        "d": "1024"
      },
      "initial": [
        {
          "n": "62",
          "d": "69"
        },
        {
          "n": "7",
          "d": "69"
        }
      ],
      "transition": [
        [
          {
            "n": "987",
            "d": "1252"
          },
          {
            "n": "265",
            "d": "1252"
          }
        ],
        [
          {
            "n": "165",
            "d": "404"
          },
          {
            "n": "239",
            "d": "404"
          }
        ]
      ],
      "emission": [
        [
          {
            "n": "337",
            "d": "412"
          },
          {
            "n": "75",
            "d": "412"
          }
        ],
        [
          {
            "n": "11",
            "d": "20"
          },
          {
            "n": "9",
            "d": "20"
          }
        ]
      ]
    },
    {
      "round": 1,
      "phase": "updated",
      "likelihood": {
        "n": "123832934792156785080562353",
        "d": "1137878813203183360882240000"
      },
      "initial": [
        {
          "n": "884640840847838862651410450",
          "d": "949385833406535352284311373"
        },
        {
          "n": "64744992558696489632900923",
          "d": "949385833406535352284311373"
        }
      ],
      "transition": [
        [
          {
            "n": "10276908954244246696741485",
            "d": "13589710124582417276007628"
          },
          {
            "n": "3312801170338170579266143",
            "d": "13589710124582417276007628"
          }
        ],
        [
          {
            "n": "13372107233279003357025",
            "d": "31741628403044007364676"
          },
          {
            "n": "18369521169765004007651",
            "d": "31741628403044007364676"
          }
        ]
      ],
      "emission": [
        [
          {
            "n": "730305034886498016590523961",
            "d": "896911711581252887863864711"
          },
          {
            "n": "166606676694754871273340750",
            "d": "896911711581252887863864711"
          }
        ],
        [
          {
            "n": "3996146628062134192462819",
            "d": "7023436786829487269639317"
          },
          {
            "n": "3027290158767353077176498",
            "d": "7023436786829487269639317"
          }
        ]
      ]
    }
  ]
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-05, 03:23 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →