andrey.data.ContextSeries#
- class andrey.data.ContextSeries(datasets, time_contexts, space_contexts, links, context_links, hidden_links)[source]#
Datasets of system variables and observed contexts, with the model’s links.
datasetsholds one(n_steps, n_columns)array per dataset: the system variables, then the observed time contexts, then the observed space contexts, whose positions aretime_contextsandspace_contexts.linksholds the(cause, effect, lag)links between system variables, a variable’s link to its own past included.context_linksholds the(context, lag, variable)links from the observed contexts, by column position, andhidden_linksthe(lag, variable)links from the contexts the datasets leave out.