sciope.features package

Submodules

sciope.features.feature_extraction module

Feature Extraction

sciope.features.feature_extraction.generate_tsfresh_features(data, features)[source]

Generates time series features from TSFRESH library

datandarray

time series collections of shape N x T, where T is number of time points

featuresdict, optional

dict containing tsfresh features for exempel: features = {‘variance’: None,

‘absolute_sum_of_changes’: None, ‘agg_autocorrelation’: [{‘f_agg’: ‘mean’},

{‘f_agg’: ‘var’}]}

See TSFRESH documentation for full set of supported features: https://tsfresh.readthedocs.io/en/latest/text/feature_extraction_settings.html

ndarray

shape N x (Nr of total features)

sciope.features.feature_extraction.remove_nan_features(x, features)[source]

Method to remove features containing NaN values.

x: vector/array-like

array of calculated features

featuresdict

list of calculated features

tuple

non-nan features dict, and feature values

Module contents