diff --git a/fink_science/anomaly_detection/processor.py b/fink_science/anomaly_detection/processor.py index 09b60fc4..28cfb152 100644 --- a/fink_science/anomaly_detection/processor.py +++ b/fink_science/anomaly_detection/processor.py @@ -91,7 +91,7 @@ def anomaly_score(lc_features, model=None): ... df = df.withColumn(f'anomaly_score{model}', anomaly_score("lc_features", F.lit(model))) >>> df.filter(df["anomaly_score"] < -0.013).count() - 96 + 236 >>> df.filter(df["anomaly_score"] == 0).count() < 200 True diff --git a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_alpha.zip b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_alpha.zip index a68231a6..d30e5cb6 100644 Binary files a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_alpha.zip and b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_alpha.zip differ diff --git a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_beta.zip b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_beta.zip index a68231a6..e7ae1170 100644 Binary files a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_beta.zip and b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_beta.zip differ diff --git a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_delta.zip b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_delta.zip index a68231a6..9da359e5 100644 Binary files a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_delta.zip and b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_delta.zip differ diff --git a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_epsilon.zip b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_epsilon.zip index a68231a6..93a34962 100644 Binary files a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_epsilon.zip and b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_epsilon.zip differ diff --git a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_gamma.zip b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_gamma.zip index a68231a6..6a9d5a6a 100644 Binary files a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_gamma.zip and b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_gamma.zip differ diff --git a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_omega.zip b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_omega.zip index a68231a6..efd9359f 100644 Binary files a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_omega.zip and b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_omega.zip differ diff --git a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_theta.zip b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_theta.zip index a68231a6..0b7c4aeb 100644 Binary files a/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_theta.zip and b/fink_science/data/models/anomaly_detection/anomaly_detection_forest_AAD_theta.zip differ diff --git a/run_tests.sh b/run_tests.sh index 689a8df2..74ef045a 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -81,8 +81,6 @@ do # Skip Spark if needed if [[ "$NO_SPARK" = true ]] && [[ ${filename##*/} = 'processor.py' ]] ; then echo '[NO SPARK] skipping' $filename - elif [[ ${filename#*/} = 'anomaly_detection/processor.py' ]]; then - echo "skip anomaly" else echo $filename # Run test suite + coverage