Skip to main content

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.

Metadata

Release files for winterrb 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for winterrb 2.0.1
File Size Uploaded Provenance Actions
winterrb-2.0.1.tar.gz 8.0 MB Without provenance Details for winterrb-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for winterrb 2.0.1
File Interpreter ABI Platform Actions
winterrb-2.0.1-py3-none-any.whl Python 3 none any Details for winterrb-2.0.1-py3-none-any.whl

Total release size: 8.0 MB

Release files / winterrb-2.0.1.tar.gz

Download URL winterrb-2.0.1.tar.gz
Size 8.0 MB
Tags Source
SHA-256 checksum
How to use checksums
6d88f8f4157f4a692eb2ab668c7c544475341df6685715936a2e960d1c156e84
BLAKE2b-256 checksum
How to use checksums
c1cac2d266fd47e2100663c182d450521ee01510d2f5f240e394cb4cedb00e87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release files / winterrb-2.0.1-py3-none-any.whl

Download URL winterrb-2.0.1-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34d44788b40cbb8d755d8b48d8e1fba89b2316a05d1f23306628e7646d3078d4
BLAKE2b-256 checksum
How to use checksums
4494d4d67ba60b8467e986e023133f040dc27da3241d534dac5b1d802e6bd85b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Security for winterrb 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page