Context is used here to provide a better understanding of the difference cases the data are each time. In esense Context represent the data (CD), existing in a time window, and their relationships (CR), where the relationships are extracted using causal discovery between the data (the causal discovery method can be user defiend).
Project description
PdMContext
A python package for ectracting context in streaming application (related to Predictive Maintenance and Anomaly Detection)
Documentation can be found in Documentation folder
See src/Example.ipynb for usage
Context and Data types
Context is used here to provide a better understanding of the difference cases the data are each time.
In esense Context represent the data (CD), existing in a time window, and their relationships (CR), where the relationships are extracted using causal discovery between the data (the causal discovery method can be user defiend).
PdmContext.utils.structure.Context is used to Represent such a context.
Data Types
Continiuous (analog, real, Univariate series ...):
To this point CD contain data from different sources, and support different sample rates of signals, and event discrete data. The difference in sample rate is handled internally in the context generation process where all the series are maped to a single series sample rate callse target series (also reffered to the code and documentation as such):
- For series with sample rate higher than that of target, the samples between two timestamps of targets series, are aggregated (mean)
- For series with lower sample rate, repetition of their values is used.
Event Data:
The context suppor also data which are not numeric, but related to some kind of event (events that occur in time). These are oftenly refered as discrete data. To this end the Context support two types of such events:
- isolated: Event that have instant impact when they occur.
- configuration: Events that refer to a configuration change that has impact and after its occurance.
The type of events is used to tranform the in to contiuous space and add them to CD.
Related works:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pdmcontext-0.0.1.tar.gz
.
File metadata
- Download URL: pdmcontext-0.0.1.tar.gz
- Upload date:
- Size: 920.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dab249555c548ba027ec2db296b6a00785023d1d8b6407c54dac6faba54108d |
|
MD5 | cca1d13903c1875c50d7f5903d5487f0 |
|
BLAKE2b-256 | 4c056ea0c66a68a3b9d1707ffa7017e36911130c6c4513b59669cd3918ad8ade |
File details
Details for the file pdmcontext-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pdmcontext-0.0.1-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d851b84a26b192bf16e3c199f719c9d308e2092ec86297e2e2e36cc35e71eae |
|
MD5 | e775f89011695eb57783dc0a1d256f57 |
|
BLAKE2b-256 | 4cffc2943b05339346ab6a43faf92952fe0aee8384d6729767937e071bc206b1 |