Skip to main content

crp4 Paper DOI arXiv

ActSNClass

Active Learning for Supernova Photometric Classification

This repository holds the code and data used in Optimizing spectroscopic follow-up strategies for supernova photometric classification with active learning, by Ishida, Beck, Gonzalez-Gaitan, de Souza, Krone-Martins, Barrett, Kennamer, Vilalta, Burgess, Quint, Vitorelli, Mahabal and Gangler, 2018.

This is one of the products of COIN Residence Program #4, which took place in August/2017 in Clermont-Ferrand (France).

We kindly ask you to include the full citation if you use this material in your research: Ishida et al, 2019, MNRAS, 483 (1), 2–18.

Full documentation can be found at readthedocs.

Dependencies

For code:

  • Python>=3.7
  • argparse>=1.1
  • matplotlib>=3.1.1
  • numpy>=1.17.0
  • pandas>=0.25.0
  • setuptools>=41.0.1
  • scipy>=1.3.0
  • scikit-learn>=0.20.3
  • seaborn>=0.9.0
  • xgboost>=1.6.2

For documentation:

  • sphinx>=2.1.2

Install

The current version runs in Python-3.7 or latter.

We recommend you use a virtual environment to ensure the correct package versions.

Once your environment is created, you can source it :
>> source <path_to_venv>/bin/activate

You will notice a (ActSNCLass) to the left of your terminal line. This means everything is ok!

In order to install this code you should clone this repository and do::

(ActSNClass) >> pip install --upgrade pip
(ActSNClass) >> pip install -r requirements.txt
(ActSNClass) >> pip install .

Release files for actsnclass 1.3.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 actsnclass 1.3.1
File Size Uploaded
actsnclass-1.3.1.tar.gz 42.5 kB Details

Built distribution (wheel)

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

Total release size: 99.5 kB

Release files / actsnclass-1.3.1.tar.gz

Download URL actsnclass-1.3.1.tar.gz
Size 42.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e32c14f0a35935162edfcf9aaf22887809ac41d6a4eb93d96ece12dd16dd7cd4
BLAKE2b-256 checksum
How to use checksums
5c4cd9161703d9ba8897fe9513429d78f2655eae80354242d6ffd70e95314e17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / actsnclass-1.3.1-py3-none-any.whl

Download URL actsnclass-1.3.1-py3-none-any.whl
Size 57.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62a29e9cfbbacb8ec2e80cbfd7d015b19c32a30b192d1825bcb0a2072cdd2a4e
BLAKE2b-256 checksum
How to use checksums
f7a46fbb87c8a5cf9de84b77dd26bda889c99928ceb7a86dd6350f3e281d8c57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

1.3

2 release files

1.2

2 release files

1.1

1 release file

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