You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a handful of custom features that all rely on the same intermediate results (for a given series, and set of parameters). Rather than recompute these same intermediates in each individual feature calculator, I'd like to compute them once, and allow the other calculators to pick up from the intermediate results (if available).
At first glance, I thought that the combiner type was what I was after, but that appears to be for computing results of multiple parameters for a single feature. I want to do the opposite, compute multiple features from a single set of parameters.
Is there a suggested way to accomplish this? Thanks!
Hi @atpage!
That is a very nice question and I think you did already do some good research. The combiner type is indeed the correct one to use. For example, have a look into the matrix_profile feature. It first calculates the rather heavy matrix profiles themselves (that would be your intermediate results) and then derives a handful of simple features from it (mean, min, max, etc.).
The trick is, that the parameters for the calculated feature contain the normal set of parameters (in this case: which are needed to calculate the heavy matrix profiles) and an additional parameter called "feature" which indicates which of the features to calculate (min, max, mean, etc.)
The fft_aggregated is quite similar.
Ah, I see, so feature would actually be a parameter, and the calculator function would receive all the parameters at once. I can work with that. Thanks again!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a handful of custom features that all rely on the same intermediate results (for a given series, and set of parameters). Rather than recompute these same intermediates in each individual feature calculator, I'd like to compute them once, and allow the other calculators to pick up from the intermediate results (if available).
At first glance, I thought that the
combiner
type was what I was after, but that appears to be for computing results of multiple parameters for a single feature. I want to do the opposite, compute multiple features from a single set of parameters.Is there a suggested way to accomplish this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions