Skip to main content

Prediction Ontology

Output Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 01 November 2026
Audio Overview
PREDICTION 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/prediction-ontology.html
Authors: Mark Anthony Higgins — Sky, Recursive AI
Companion formalisation | 01 November 2026

01. PURPOSE
Represent a prediction as a model-produced, time- and context-bound claim about an unknown target. Separate predicted values from observations, confidence, evidence, and later verification.

02. ENTITY AND STATE MODEL
Prediction p = (id, target, horizon, value, distribution, confidence, provenance, status).
S_t = (I_t, R, B, K), where I_t is current information, R inference rules, B constraints and boundaries, and K retained knowledge.
Inputs: features X_t, model M, target Y, context C_t, and horizon h.
Output: P_t = Predict(M, X_t, C_t, h).

03. CORE FLOW ALGEBRA
E_t = expand(I_t, R)
V_t = {x in E_t | satisfies(x, B)}
p*_t = argmax_{p in V_t} Score(p | I_t, R, B, K)
I_{t+1} = Update(I_t, p*_t, observations, feedback)
For probabilistic classification: y_hat = argmax_y P(Y=y | X_t, M, C_t).
For regression: y_hat = f_M(X_t, C_t).
For probabilistic forecasting: F_t(y) = P(Y <= y | X_t, M, C_t, h).

04. IMPLEMENTS
Capture input and target definition -> validate context and scope -> generate candidate predictions -> filter by constraints -> select or retain a distribution -> attach uncertainty and provenance -> publish prediction -> compare with subsequent observations -> update calibration and knowledge.

05. HOW TO READ
I_t: known information at the prediction time.
R: permitted transformations and inference rules.
B: validity, safety, schema and domain constraints.
K: retained domain/model knowledge.
h: prediction horizon; y_hat: predicted target value.
A prediction is not an observed fact. A confidence value is not proof of correctness.

06. TRI-MAPPING
Semantic: Prediction --predicts--> Target; Prediction --uses--> Evidence; Prediction --hasHorizon--> Horizon.
Mathematical: conditional mapping (X_t, C_t, M, h) -> y_hat or P(Y | X_t, C_t, M, h).
Operational: request -> model inference -> constrained output -> verification -> feedback.

07. RELATIONSHIP GRAPH
Prediction -> generatedBy -> Model
Prediction -> concerns -> Target
Prediction -> conditionedOn -> InputContext
Prediction -> supportedBy -> Evidence
Prediction -> expressedAs -> ValueOrDistribution
Prediction -> hasUncertainty -> UncertaintyEstimate
Prediction -> hasHorizon -> TimeHorizon
Prediction -> evaluatedAgainst -> Observation
Prediction -> receives -> EvaluationResult

08. MAPPING TABLE
ENTITY | INPUT | TRANSFORMATION | OUTPUT
Prediction | model, features, horizon | inference | prediction record
Candidate | eligible hypotheses | scoring/filtering | ranked candidates
Uncertainty | predictive distribution | interval/calibration | uncertainty metadata
Evaluation | prediction, ground truth | metric calculation | performance evidence
Revision | feedback, new evidence | model/state update | revised prediction

09. MINI RECURSION ENGINE
Initialise state S_0 and prediction objective.
Repeat for each valid observation window t:
  E_t <- expand(I_t, R)
  V_t <- constrain(E_t, B)
  P_t <- predict(V_t, M, K)
  Emit P_t with target, horizon, timestamp, uncertainty and provenance.
  When outcome O_t becomes available, evaluate(P_t, O_t).
  Update I_{t+1}, calibration and permissible knowledge K.
Stop on task completion, invalid context, explicit boundary or resource limit.
Do not use future observations in past-time predictions.

10. INFERENCE RULES
R1: Every prediction MUST identify its target and prediction context.
R2: A numerical confidence MUST declare its interpretation and, where possible, calibration basis.
R3: Missing inputs or unsupported extrapolation MUST be represented as limitations.
R4: Ground truth MUST be kept distinct from predicted values.
R5: A revised prediction MUST retain version/time provenance.
R6: An evaluation MUST use an appropriate target-specific metric.
R7: Inferences beyond validated domain boundaries MUST be flagged or rejected.

11. EXECUTION GUARANTEES AND LIMITS
Structural guarantees (when implemented and validated): required fields, traceable provenance, bounded inference and distinguishable prediction/observation records.
Not guaranteed: truth, accuracy, calibrated probabilities, causal validity, or reliable extrapolation. Those require external testing and monitoring.

12. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/output-entities/prediction-ontology.html
CITATION_BACKLINK: source URL above
PURPOSE: Retrieve and reason over prediction-output entities.
STATE_MODEL: S_t=(I_t,R,B,K)
ENTITIES: Prediction, Target, Model, InputContext, Evidence, Horizon, Distribution, Observation, Evaluation.
PATHWAYS: inputs -> model -> prediction -> uncertainty -> verification -> feedback.
MINI_RECURSION_ENGINE: expand -> constrain -> infer -> record -> evaluate -> update.
INFERENCE_RULES: R1-R7 above.
CONFIDENCE: model-specific; never presume calibration.
SEMANTIC_EQUIVALENCE: forecast / estimated future outcome / predicted target (only where context permits).
FLOW_HASH: compute SHA-256 of the published canonical file at deployment; not pre-assigned.
UPDATE_MODEL: version and timestamp each revision; preserve audit trail.

13. EXAMPLE AND INTERPRETATION
Example: A forecasting model predicts tomorrow's demand as 120 units, with a stated 90% prediction interval of [95, 150]. The forecast is an output entity, not a measurement. When demand is observed, store the observation separately and assess error and interval coverage over repeated forecasts.

SOURCE NOTE
This is a newly authored companion Flow Algebra based on the linked ontology's topic and the Semantic Library framework. It is not a verbatim extraction of hidden page specifications.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ