No project description provided
Project description
winter_rb_models
WINTER real/bogus ML models, originally created by @aswinsuresh
This slimmed-down version uses pytorch rather than tensorflow.
Installing the package
Using pip
pip install winterrb
From source
- Clone the repository
git clone git@github.com:winter-telescope/winterrb.git
- Navigate to the repository
cd winterrb
- Create a conda environment with the required packages
conda create -n winterrb python=3.11
- Activate the environment
conda activate winterrb
- Install the package
pip install -e .
Training a model
You need a data directory, containing a list of training classifications in csv format,
named training_data.csv
, and a data containing the corresponding avro alerts used for training.
Specifically, you require a directory within the data directory named train_data
containing the avro alerts.
Each avro alert should be named with the format <id>.avro
.
You can set the data directory using the bash environment variable WINTERRB_DATA_DIR
.
export WINTERRB_DATA_DIR=/path/to/data
Then you can train a model using the notebook winterdrb_pytorch.ipynb
.
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
File details
Details for the file winterrb-1.0.0.tar.gz
.
File metadata
- Download URL: winterrb-1.0.0.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6ec6f5d775d436e3c0f4966f545c745cb7c31dad80f1fa178b2fca187c58355 |
|
MD5 | 1b4434d2fbeabf14cfe4522e832aac3c |
|
BLAKE2b-256 | a913a6f0939fb728511439facee7396530f8ef65e32ae98f8b89482cf99a5901 |
File details
Details for the file winterrb-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: winterrb-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 699839ad9c8ebede59df5b58f75e80197bb599748de8e48c160bc011730ee881 |
|
MD5 | ac44392e4ce314c37400730292a48b6f |
|
BLAKE2b-256 | 05c781b7f5e912400f8dda4f34b6d21ada4d11772a13fc050a514a4108af93c9 |