Skip to content

PredictionDefinition

trendminer_interface.objects.tag_builder.prediction.PredictionDefinition

Definition for a tag builder prediction

The prediction definition is the outcome of a workflow in TrendMiner. Most attributes cannot be directly edited by the user.

Attributes:

Name Type Description
units str or None

Units of the resulting prediction tag.

units instance-attribute

units = units

formula property

formula: str

The prediction formula

target property

target: Tag

The target tag predicted by linear regression

mapping property

mapping: dict[str, tuple[Tag, float]]

The linear regression formula variables mapping to a tag and its coefficient

intercept property

intercept: float

The linear regression intercept

interval property

interval: Interval

The interval on which the prediction was calculated

accuracy property

accuracy: float

The accuracy of the prediction (0-100) for the calculation interval

calculated_at property

calculated_at: Timestamp

The timestamp on which the prediction was calculated