Sensor validation
Sensor data quality plays a vital role in Internet of Things (IoT) applications as they are rendered useless if the data quality is bad.
Analysis elements
entropy(s)
Approximate entropy
The approximate entropy quantifies the amount of regularity and the unpredictability of fluctuations over time-series data.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
s |
ndarray
|
A single feature |
required |
Returns:
Type | Description |
---|---|
float
|
Approximate entropy of feature s |
Source code in ceruleo/dataset/analysis/numerical_features.py
n_unique(s)
Number of unique values in the array
Parameters:
Name | Type | Description | Default |
---|---|---|---|
s |
ndarray
|
A single feature |
required |
Returns:
Type | Description |
---|---|
int
|
Number of unique values |
monotonicity(s)
Monotonicity of a feature, the two extreme values are 0 if the feature is constant and 1 if it is strictly monotonic.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
s |
ndarray
|
A single feature |
required |
Returns:
Type | Description |
---|---|
float
|
Monotonicity of the feature |
Source code in ceruleo/dataset/analysis/numerical_features.py
autocorrelation(s)
Autocorrelation of a feature
Parameters:
Name | Type | Description | Default |
---|---|---|---|
s |
ndarray
|
A single feature |
required |
Returns:
Type | Description |
---|---|
float
|
Autocorrelation of the feature |
Source code in ceruleo/dataset/analysis/numerical_features.py
correlation(s, y=None)
Correlation of the feature with the target
Parameters:
Name | Type | Description | Default |
---|---|---|---|
s |
ndarray
|
A single feature |
required |
y |
Optional[ndarray]
|
The RUL target |
None
|
Returns:
Type | Description |
---|---|
float
|
Correlation between the feature and the RUL target |
Source code in ceruleo/dataset/analysis/numerical_features.py
mutual_information(x, y)
Mutual information between a feature and the target
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x |
ndarray
|
A single feature |
required |
y |
ndarray
|
RUL Target |
required |
Returns:
Type | Description |
---|---|
float
|
Mutual information between x and y |