Skip to content

Anomaly detection is computed in sequencer, but results are always published #655

Description

@yordanmadzhunkov

Looks like at the moment nothing happens even when anomaly detection score is very high

// Get AD prediction only if enough data is present
if numerical_vec.len() > AD_MIN_DATA_POINTS_THRESHOLD {
    match anomaly_detector_aggregate(numerical_vec) {
        Ok(ad_score) => {
            info!("AD_score for {:?} is {}", result_post_to_contract, ad_score);
        }
        Err(e) => {
            error!("Anomaly Detection failed with error - {}", e);
        }
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions