adtk icon indicating copy to clipboard operation
adtk copied to clipboard

Question: How to simulate a "NotAggregator" in pipenet?

Open numericOverflow opened this issue 5 years ago • 1 comments

I've got data that I'd like to exclude from anomaly label if certain criteria are met (like a list of supervised labels for excluding incorrectly detected anomalies), regardless of the other detector results. I thought I'd implement it as a separate detector in a pipenet, then aggregate the results.

This would allow me to override other detectors with an aggregation, but can't come up with a way to do so with the two existing aggregators (And/Or) so would need a "NotAggregator".

Does this make sense, or has anyone tried something like this in the past?

Here's an example of what I was thinking the pipenet would look like: ADTK_example_notAggregator_pipenet

numericOverflow avatar Oct 26 '20 19:10 numericOverflow

"and" and "or" are operators applied to two input and returning one "aggregated" output. "not" is a 1-to-1 operator, which is a "transformer" in the context of adtk instead of an "aggregator". CustomizedTransformer1D should be able to do that.

tailaiw avatar Dec 26 '20 14:12 tailaiw