Using tsfel feature extraction settings #119
Unanswered
Incrementis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
when testing the code in "https://github.com/predict-idlab/tsflex/blob/main/examples/tsfel_integration.ipynb", especially the code in "Using tsfel feature extraction settings (i.e., dictionaries)"
This works for

functions=tsfel_feature_dict_wrapper(get_features_by_domain("temporal"))
andfunctions=tsfel_feature_dict_wrapper(get_features_by_domain("statistical"))
, but not forfunctions=tsfel_feature_dict_wrapper(get_features_by_domain("spectral"))
.As this resolves into an error(see image below).
I understand that the relevant part of the error is this:
"AssertionError: Func FuncWrapper(lpcc, ['lpcc_1', 'lpcc_2', 'lpcc_3', 'lpcc_4', 'lpcc_5', 'lpcc_6', 'lpcc_7', 'lpcc_8', 'lpcc_9', 'lpcc_10', 'lpcc_11', 'lpcc_12', 'lpcc_13'], {'n_coeff': 12}) returned incorrect number of outputs (12)!"
To overcome the error the following code is used:
The information for the arguments were filtered from the tsfel specific features.json file(use
json_path = tsfel.__path__[0] + "/feature_extraction/features.json
to find its location).As you can imagine, the code takes quite a long time to write, so my question is:
Beta Was this translation helpful? Give feedback.
All reactions