LSSTDESC / snmachine

Machine learning code for photometric supernova classification
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Plotting utils #231

Closed Catarina-Alves closed 3 years ago

Catarina-Alves commented 3 years ago

The util plasticc_utils has several plotting functions and the PLAsTiCC log loss function. However, some of these functions are outdated (e.g. plot_confusion_matrix). Additionally, snmachine is missing the functions used to plot the PLAsTiCC light curves.

I suggest solving these two issues in plasticc_utils. At a later stage, the util might be renamed to plotting. Alternatively, we can add some plotting functions to sndata. In particular, the one to plot the PLAsTiCC light curves. sndata already has a plotting function but this does not allow plotting the light curves and the GP models at the same time.

File: plasticc_utils.py, sndata.py

Catarina-Alves commented 3 years ago

In addition, this new file should contain the plotting code that is currently in snclassifier : plot_roc and plot_confusion_matrix.

Catarina-Alves commented 3 years ago

Solved by #247