parsnip.weighted_multi_logloss

parsnip.weighted_multi_logloss(true_types, classifications)

Calculate a weighted log loss metric.

This is the metric used for the PLAsTiCC challenge (with class weights set to 1) as described in Malz et al. 2019

Parameters:
  • true_types (ndarray) – True types for each object

  • classifications (Table) – Classifications table output from a Classifier

Returns:

[description]

Return type:

[type]