Fink SNAD Anomaly Detection Model
Project description
Fink anomaly detection model
A set of modules for training models for finding anomalies in photometric data. There are currently two entry points via the console: fink_ad_model_train and get_anomaly_reactions.
fink_ad_model_train
The module trains the AADForest model using expert reactions from the C055ZJJ6N2AE channels in Slack and -1001898265997 in Telegram. It creates the following files:
- _g_means.csv and _r_means.csv -- averages over the training dataset;
- _reactions_g.csv and _reactions_r.csv -- training datasets for additional training of the AADForest algorithm, based on expert reactions from Slack and Telegram channels;
- forest_g_AAD.onnx -- model for _g filter
- forest_r_AAD.onnx -- model for _r filter
optional arguments:
--dataset_dir DATASET_DIR Input dir for dataset (default: './lc_features_20210617_photometry_corrected.parquet')
--n_jobs N_JOBS
Number of threads (default: -1)
usage: fink_ad_model_train [-h] [--dataset_dir DATASET_DIR] [--n_jobs N_JOBS]
get_anomaly_reactions
Uploading anomaly reactions from messengers. It creates the following files:
- _reactions_g.csv and _reactions_r.csv -- training datasets for additional training of the AADForest algorithm, based on expert reactions from Slack and Telegram channels;
optional arguments:
--slack_channel SLACK_CHANNEL Slack Channel ID (default: 'C055ZJJ6N2AE')
--tg_channel TG_CHANNEL Telegram Channel ID (default: -1001898265997)
usage: get_anomaly_reactions [-h] [--slack_channel SLACK_CHANNEL] [--tg_channel TG_CHANNEL]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fink_anomaly_detection_model-0.4.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 150cbcfa1b33f1f4c833d072950e05494d79e87450e4b4fa99ac1ae51b8b3268 |
|
MD5 | 5a4ef2dae8f19af2ec159440866ed731 |
|
BLAKE2b-256 | 706e46f8b613af3764ab208e0653ae0d98ae377220f11324529baa105a10c515 |
Hashes for fink_anomaly_detection_model-0.4.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f80572d6a87a57adc73bf64a06e815f9770f092402b85484402313141a75dfbc |
|
MD5 | f6d73608e917bb070c9d3d024ace5be7 |
|
BLAKE2b-256 | 35ce2f85fcb91551ccbe0a26b24e6becd7a95e39c6676ff22856b07276db1bfc |