pyspi.calculator.Calculator
class pyspi.calculator.Calculator(dataset=None, name=None, labels=None, fast=False, sonnet=False, configfile=None, normalise=True)
Compute all pairwise interactions.
The calculator takes in a multivariate time-series dataset, computes and stores all pairwise interactions for the dataset. It uses a YAML configuration file that can be modified in order to compute a reduced set of pairwise methods.
Example
Parameters | Description |
---|---|
|
__init__
(dataset=None, name=None, labels=None, subset=None, configfile=None, normalise=True)
Methods
Method | Description |
---|---|
| |
| Compute the SPIs on the MVTS dataset. |
| Load a new dataset into existing instance. |
| Assigns a numeric value to a Calculator instance based on a list of classes. |
| Iterate through all SPIs are remove the minimum. Fixes absolute errors when correlating. |
| Get the keywords for each SPI. |
| Generates a DataFrame showing correlations between SPIs. |
Attributes
Attribute | Description |
---|---|
| Dataset as a data object. |
| The numerical group assigned during |
| The group name assigned during |
| List of calculator labels. |
| Number of SPIs in the calculator. |
| Name of the calculator. |
| Dict of SPIs. |
| Results table for all pairwise interactions (each represented as an MPI). |
Last updated