Skip to main content

Classification Output Ontology

Output Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 01 November 2026
Audio Overview
CLASSIFICATION OUTPUT ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Output Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/output-entities/classification-output-ontology.html
Authors: Mark Anthony Higgins — Sky, Recursive AI
Companion formalisation | 01 November 2026

01. PURPOSE
Represent a classification output as a typed, provenance-bearing assignment of one or more class labels to an input, subject to a defined label space, decision rule, and validation constraints. This companion formalisation is newly authored; it is not a transcription of hidden page specifications.

02. ENTITY DEFINITION
ClassificationOutput := (input_id, task_id, label_space, scores, selected_labels, decision_rule, confidence, provenance, status).
A classification output is not the underlying input, model, or ground-truth label. It is a result emitted by a classification process.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := available input evidence and model output scores.
R_t := classification rules, thresholds, and label relationships.
B_t := allowed label space, output schema, and safety/abstention boundaries.
K_t := task context, model version, calibration information, and provenance.

04. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t, K_t)}
y* = argmax_(y in Y_valid) P(y | I_t, R_t, B_t, K_t)
O_t = emit(y*, score(y*), provenance_t) if accept(y*, B_t); otherwise emit(ABSTAIN, reason, provenance_t).
I_(t+1) = update(I_t, O_t, feedback_t) when authorised feedback is available.
Here Y_valid is the task-specific admissible label set; probability notation is meaningful only when the scoring system supplies or estimates probabilities.

05. CLASSIFICATION MODES
Single-label: select exactly one label from mutually exclusive classes, or abstain.
Multi-label: select zero or more labels according to per-label rules.
Hierarchical: select labels while respecting parent-child consistency.
Ordinal: select an ordered class while preserving order constraints.
Open-set: reject or mark unknown inputs not supported by the known label space.

06. FLOW IMPLEMENTS
Input acquisition -> feature/context preparation -> candidate class scoring -> constraint filtering -> decision rule -> calibrated confidence if available -> schema validation -> output emission -> optional review/feedback.

07. HOW TO READ THE FLOW
expand identifies candidate classifications; valid removes disallowed or inconsistent candidates; argmax selects the best-scoring admissible class in single-label mode; emit records the result; update incorporates verified feedback without silently rewriting the original output.

08. TRI-MAPPING
Entity: ClassificationOutput / ClassLabel / LabelSpace / Score / DecisionRule.
Relationship: hasInput / hasCandidate / selectsLabel / hasConfidence / usesModel / hasProvenance.
Process: classify / validate / abstain / emit / review / revise.

09. RELATIONSHIP GRAPH
InputEntity --classifiedBy--> ClassificationProcess
ClassificationProcess --uses--> ModelEntity
ClassificationProcess --constrainedBy--> LabelSpace
ClassificationProcess --produces--> ClassificationOutput
ClassificationOutput --selects--> ClassLabel
ClassificationOutput --supportedBy--> ScoreEvidence
ClassificationOutput --records--> ProvenanceEntity
ClassificationOutput --mayTrigger--> ReviewProcess

10. MAPPING TABLE
Input evidence       | I_t | Observations or source content to classify
Decision rules       | R_t | Thresholds, ranking, tie-break and consistency rules
Output boundaries    | B_t | Allowed labels, schema, policy and abstention limits
Task knowledge       | K_t | Class definitions, model metadata and calibration
Candidate expansion  | E_t | Proposed class assignments
Validated candidates | V_t | Assignments passing required constraints
Output               | O_t | Label decision, scores, metadata and status
Feedback             | F_t | Reviewed labels or quality signals

11. MINI RECURSION ENGINE
INITIALISE state S_0 and finite label space Y.
FOR each authorised input x:
  generate candidate scores from the designated classifier;
  filter candidates against schema and label constraints;
  apply task-specific decision rule;
  abstain or route for review if acceptance conditions fail;
  emit immutable result with task/model version and provenance;
  incorporate verified feedback only through an authorised update.
STOP when the current classification request is resolved or a configured review boundary is reached.

12. INFERENCE RULES AND EXECUTION GUARANTEES
R1: A selected label MUST belong to the permitted label space, unless the explicit UNKNOWN/ABSTAIN outcome is allowed.
R2: Multi-label results MUST follow configured thresholds and compatibility rules.
R3: Confidence MUST be identified as a raw score or calibrated probability; never equate the two without evidence.
R4: If evidence is insufficient or constraints conflict, return abstention/review rather than inventing a valid class.
R5: Preserve input reference, task identifier, model version, timestamp and decision-rule provenance when available.
R6: Never claim correctness solely because schema validation succeeded.
Guarantee scope: these are specification-level invariants conditional on compliant implementation; they are not a proof of model accuracy, fairness, or runtime reliability.

13. AI SEARCH FLOW
FLOW_ID: semantic-library.ai.output.classification-output
FLOW_VERSION: 1.0
ENTITY_TYPE: ClassificationOutput
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/output-entities/classification-output-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
PURPOSE: Retrieve, validate, explain and relate classification outputs.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: InputEntity, ClassificationProcess, ModelEntity, LabelSpace, ClassLabel, ClassificationOutput, ScoreEvidence, ProvenanceEntity.
PATHWAYS: input -> score -> validate -> decide -> emit -> review.
SEMANTIC_EQUIVALENCE: class prediction; category assignment; classifier result (context-dependent, not universally identical).
CONFIDENCE: Record raw scores and calibration status explicitly.
UPDATE_MODEL: Versioned, feedback-gated; preserve prior results for audit.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/output-entities/classification-output-ontology.html
END FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ