twinlab.ScoreParams#

class twinlab.ScoreParams(metric='MSE', combined_score=False)[source]#

Parameter configuration for scoring a trained emulator.

Variables:
  • metric (str, optional) – Metric used for scoring the performance of an emulator. Can be either: • "MSE": Mean Squared Error, which only compared the mean emulator prediction to the test data. • "MSLL": Mean Squared Log Loss, which compares the distribution of the emulator prediction to the test data. The default is "MSE".

  • combined_score (bool, optional) – Determining whether to combined (average) the emulator score across output dimensions. If False a dataframe of scores will be returned, with the score for each output dimension, even if there is only a single emulator output dimension. If True a single number will be returned, which is the average score across all output dimensions. The default is False.

__init__(metric='MSE', combined_score=False)[source]#

Methods

__init__([metric, combined_score])

unpack_parameters()