Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OA: Boundary detector - Improvement of reverse adaptation #1118

Open
10 tasks
detlefarend opened this issue Dec 17, 2024 · 0 comments
Open
10 tasks

OA: Boundary detector - Improvement of reverse adaptation #1118

detlefarend opened this issue Dec 17, 2024 · 0 comments
Labels
enhancement New feature or request OA Online adaptivitiy

Comments

@detlefarend
Copy link
Member

Description/Motivation
In the current implementation of class mlpro.oa.streams.tasks.BoundaryDetector, reverse adaptation is event-based. It listens to the event C_DATA_REMOVED of a prior sliding window and applies its full boundary detection functionality if such an event occurs. Once a previous window buffer is filled, every incoming instance causes the removal of an obsolete one, which triggers the event above.

Reverse adaptation of the boundary detector shall be turned into an online functionality: incoming obsolete instances shall be observed feature-wise for touching existing boundaries. Nothing is to be done if no feature value of an outdated instance touches a boundary. Otherwise, a full determination of the upper/lower boundary of this feature is to be carried out using a regarding functionality of the window task.

The improvements can be summarized as follows:

  1. Reverse adaptation by reducing boundaries based on outdated instances becomes more rare
  2. The effort of reverse adaptation is lowered
  3. Since a boundary detector is often part of an adaptation cascade with a min-max normalizer, cluster analyzer, anomaly detector, etc., the improvements above directly affect the overall performance of the entire workflow

Task list

  • 1. Class BoundaryDetector
    • 1.1 Backward compatible design changes
    • 1.2 Implementation of method _adapt_reverse()
    • 1.3a New parameter p_window_callback
    • 1.3b Alternative: buffer registers its callback service at the shared object
  • 2. Benchmarking
    • Comparison of event-oriented vs. reverse adaptation
  • 3. RTD
    • Update class diagrams and API
    • Update of related howtos
@detlefarend detlefarend added enhancement New feature or request OA Online adaptivitiy labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OA Online adaptivitiy
Projects
None yet
Development

No branches or pull requests

1 participant