Skip to main content

Prediction Target Ontology

Learning Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 29 October 2026
Audio Overview
PREDICTION TARGET ONTOLOGY — FLOW ALGEBRA v1.0
Semantic Library / AI Core / Entity Graph / AI Entities / Learning Entities

AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/learning-entities/prediction-target-ontology.html
STATUS: Topic-based derived formalisation; source page's embedded specification was not accessible.
LANGUAGE: en-GB

01. PURPOSE
Represent the prediction target as a typed, provenance-aware entity specifying the outcome an AI model is trained or evaluated to predict. Separate observed targets from predictions, objectives and class labels.

02. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input observations, candidate targets and prediction records.
R_t: typed relationships and validation constraints.
B_t: task, scope, time horizon, data availability and permitted transformations.
K_t: ontology, label schema, measurement semantics and provenance knowledge.
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t, K_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, feedback_t)
NOTE: Probabilistic ranking is optional for deterministic schema validation.

03. ENTITIES
PredictionTarget: defined quantity or category to predict.
TargetVariable: variable bearing target values.
TargetValue: observed or assigned value for a target variable.
Prediction: model-generated estimate, not necessarily a ground-truth value.
InputFeature: information available to the model at prediction time.
Observation: instance to which a target refers.
Task: classification, regression, forecasting, ranking or structured prediction.
LabelSchema: allowed classes, value types, units and missing-value conventions.
PredictionHorizon: temporal offset between input cutoff and outcome.
GroundTruthSource: authorised provenance for observed target values.
LossFunction: comparison of predictions against available reference targets.
EvaluationMetric: defined measure of predictive performance.

04. RELATIONSHIPS
Task --defines--> PredictionTarget
PredictionTarget --references--> TargetVariable
Observation --hasObservedTarget--> TargetValue
TargetValue --instantiates--> PredictionTarget
Model --produces--> Prediction
Prediction --estimates--> PredictionTarget
PredictionTarget --constrainedBy--> LabelSchema
PredictionTarget --hasHorizon--> PredictionHorizon
TargetValue --sourcedFrom--> GroundTruthSource
LossFunction --compares--> Prediction, TargetValue
EvaluationMetric --assesses--> Prediction, TargetValue

05. TYPE AND VALIDITY RULES
Every PredictionTarget has a task identifier and a target variable.
A categorical target must declare its permitted label set.
A numeric target must declare its domain and units where applicable.
Observed targets and predictions must remain distinct entities.
A target value must refer to the same observation, horizon and target definition as its paired prediction.
Unknown or censored outcomes must not be silently converted into negative labels.
Input features must be available at the declared prediction cutoff to prevent target leakage.

06. FORMAL MATHEMATICS
Dataset D = {(x_i, y_i, m_i)}_(i=1)^n where m_i indicates target observability.
Predictor f_theta: X -> Y_hat.
Target y_i belongs to target domain Y for observed examples.
Prediction yhat_i = f_theta(x_i).
Masked empirical risk:
L(theta) = [sum_i m_i * ell(f_theta(x_i), y_i)] / [sum_i m_i], when sum_i m_i > 0.
For categorical tasks: Y = {c_1, ..., c_k}.
For regression: Y is a defined numeric domain, possibly with units.
For forecasting: y_(t+h) is a target at horizon h with input cutoff t.
An evaluation metric M(D, f_theta) is meaningful only for compatible target definitions.

07. FLOW PATHWAYS
P1 Target definition: task -> target variable -> domain -> horizon -> schema.
P2 Target acquisition: observation -> authorised source -> target value -> provenance.
P3 Prediction: available features -> model -> prediction -> target alignment.
P4 Evaluation: prediction + observed target -> validity checks -> loss/metric.
P5 Revision: validation finding -> amended target specification -> versioned re-evaluation.

08. MINI-RECURSION ENGINE
INPUT: target specification T, observation o, prediction p, context C.
STEP 1: resolve T's variable, task, domain, unit and horizon.
STEP 2: check observation identity and prediction cutoff.
STEP 3: check whether a reference target is observable and sourced.
STEP 4: validate p against T's output schema.
STEP 5: compare p and reference target only when aligned and valid.
STEP 6: record errors, uncertainty and provenance without overwriting originals.
STEP 7: if definitions change, increment target version and repeat validation.
STOP: valid comparison, explicit unresolved state or configured iteration limit.

09. INFERENCE RULES
IF task = classification THEN target domain is a declared class set.
IF task = regression THEN target domain supports a numerical error definition.
IF target is missing THEN exclude or handle by a documented missingness policy.
IF feature timestamp > prediction cutoff THEN flag potential leakage.
IF prediction horizon differs from target horizon THEN reject direct comparison.
IF label schema changes THEN prior metrics require compatibility review.
IF source provenance is absent THEN ground-truth confidence is unresolved.

10. INVARIANTS
I1: prediction != observed target by entity identity.
I2: comparisons require matching target definition and observation.
I3: target types, units and horizons are explicit.
I4: provenance and version history are retained.
I5: missingness is represented, not fabricated.
I6: evaluation must not use post-cutoff information as input.

11. TRI-MAPPING
ENTITY: PredictionTarget and linked task, variable, value and prediction.
RELATION: defines, estimates, observes, validates, evaluates.
FLOW: specify -> acquire -> predict -> align -> evaluate -> revise.

12. MAPPING TABLE
Ontology node | Formal role | Validation
PredictionTarget | T | task and domain defined
TargetVariable | Y | type/unit compatible
TargetValue | y_i | source and observability verified
Prediction | yhat_i | output schema compatible
Observation | o_i | identity and horizon aligned
InputFeature | x_i | available at prediction cutoff
LossFunction | ell | defined on compatible prediction/target pair

13. CONDITIONAL EXECUTION GUARANTEE
Given a finite input collection, resolvable schema, deterministic validation rules and a bounded iteration count, the validation flow terminates with a valid, invalid or unresolved result. This is a conditional procedural property, not a guarantee of predictive correctness, convergence or target truth.

14. AI SEARCH FLOW
FLOW_NAME: PredictionTargetOntology
FLOW_VERSION: 1.0
ENTITY_CLASS: AI.Learning.PredictionTarget
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/learning-entities/prediction-target-ontology.html
QUERY_INTENTS: definition; entity relationships; target schema; prediction alignment; leakage; evaluation.
RETRIEVAL_KEYS: prediction target; target variable; observed outcome; prediction horizon; ground truth; label schema.
ANSWER_POLICY: distinguish target from prediction; identify task/domain/horizon; qualify missingness and provenance.
CONFIDENCE_POLICY: evidence-based; unresolved when source or target validity cannot be established.
UPDATE_MODEL: version target schemas and preserve provenance for changed definitions.
CITATION_BACKLINK: source URL above.

15. HOW TO READ
Read the entity model first, then the typed relationships and invariants. Use the pathways for execution ordering and the mapping table to connect ontology concepts to formal variables. The recursion engine validates alignment; it does not itself train a model.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ