Skip to main content

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.

PyPI version License: MIT

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

winterrb-2.0.1.tar.gz (8.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

winterrb-2.0.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

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

Hashes for winterrb-2.0.1.tar.gz
Algorithm Hash digest
SHA256 6d88f8f4157f4a692eb2ab668c7c544475341df6685715936a2e960d1c156e84
MD5 a3dfbb71b06bd334320d90e2af411dd5
BLAKE2b-256 c1cac2d266fd47e2100663c182d450521ee01510d2f5f240e394cb4cedb00e87

See more details on using hashes here.

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

Hashes for winterrb-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34d44788b40cbb8d755d8b48d8e1fba89b2316a05d1f23306628e7646d3078d4
MD5 592bc5581d33027ab4cf51f89720f8eb
BLAKE2b-256 4494d4d67ba60b8467e986e023133f040dc27da3241d534dac5b1d802e6bd85b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page