Skip to main content

Active Learning for Supernova Photometric Classification

Project description

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 .

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

actsnclass-1.3.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

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

actsnclass-1.3-py3-none-any.whl (56.9 kB view details)

Uploaded Python 3

File details

Details for the file actsnclass-1.3.tar.gz.

File metadata

  • Download URL: actsnclass-1.3.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for actsnclass-1.3.tar.gz
Algorithm Hash digest
SHA256 d88df2b0d059892c419219d9c34d4716e0208d6456a14e315595ecc82dc5c18a
MD5 4752042988c280fc9db576355787ca97
BLAKE2b-256 191f9185518db428f41d591f3b683a22c04031624bc5dd6b1400fcf98cee0df3

See more details on using hashes here.

File details

Details for the file actsnclass-1.3-py3-none-any.whl.

File metadata

  • Download URL: actsnclass-1.3-py3-none-any.whl
  • Upload date:
  • Size: 56.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for actsnclass-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e5a9bbce1800f127a6de3c9170d7417b8ed21717a3e51acc315c6d403576b311
MD5 dd97dd0e81d295b8bc2c9e4839689952
BLAKE2b-256 520e9179e802aae8693219dc9e5bc9dfee35f5ab051f3c192ee72376b41feb2c

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