numaproj / numalogic

Collection of operational time series ML models and tools
https://numalogic.numaproj.io/
Apache License 2.0
166 stars 28 forks source link

feat!: old vanilla AE #368

Closed ab93 closed 5 months ago

ab93 commented 6 months ago

Summary of changes:

Config to be deployed:

model:
  name: LSTMAE
  conf:
    seq_len: 10
    no_features: 2
    embedding_dim: 2
    loss_fn: "mse"
    weight_decay: 1e-4
preprocess:
  - name: LogTransformer
    conf:
      add_factor: 2
  - name: PercentileScaler
    conf:
        max_percentile: 90
threshold:
  name: MaxPercentileThreshold
  conf:
    min_threshold: 0.1
trainer:
  batch_size: 256
  pltrainer_conf:
    accelerator: cpu
    max_epochs: 40
    deterministic: true
score:
  window_agg:
    method: EXP
    conf:
        beta: 0.85
  feature_agg:
    method: WEIGHTED_AVG
    conf:
        weights: [ 0.7, 0.3 ]

Image: quay.io/numaio/numalogic/udf:v0.9.1a0

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 74.17840% with 55 lines in your changes are missing coverage. Please review.

Project coverage is 91.95%. Comparing base (f29f771) to head (b20f343).

Files Patch % Lines
numalogic/transforms/_scaler.py 33.33% 24 Missing :warning:
numalogic/connectors/druid/_druid.py 53.33% 12 Missing and 2 partials :warning:
numalogic/models/threshold/_median.py 45.45% 5 Missing and 1 partial :warning:
numalogic/transforms/_postprocess.py 42.85% 4 Missing :warning:
numalogic/backtest/_prom.py 82.35% 1 Missing and 2 partials :warning:
numalogic/models/autoencoder/variants/vanilla.py 94.87% 0 Missing and 2 partials :warning:
numalogic/udfs/postprocess.py 83.33% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #368 +/- ## ========================================== - Coverage 93.07% 91.95% -1.13% ========================================== Files 97 98 +1 Lines 4492 4612 +120 Branches 387 409 +22 ========================================== + Hits 4181 4241 +60 - Misses 231 281 +50 - Partials 80 90 +10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ab93 commented 5 months ago

Closing