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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file winterrb-2.0.1.tar.gz.
File metadata
- Download URL: winterrb-2.0.1.tar.gz
- Upload date:
- Size: 8.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d88f8f4157f4a692eb2ab668c7c544475341df6685715936a2e960d1c156e84
|
|
| MD5 |
a3dfbb71b06bd334320d90e2af411dd5
|
|
| BLAKE2b-256 |
c1cac2d266fd47e2100663c182d450521ee01510d2f5f240e394cb4cedb00e87
|
File details
Details for the file winterrb-2.0.1-py3-none-any.whl.
File metadata
- Download URL: winterrb-2.0.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34d44788b40cbb8d755d8b48d8e1fba89b2316a05d1f23306628e7646d3078d4
|
|
| MD5 |
592bc5581d33027ab4cf51f89720f8eb
|
|
| BLAKE2b-256 |
4494d4d67ba60b8467e986e023133f040dc27da3241d534dac5b1d802e6bd85b
|