LECA.analyze.performance_plot

LECA.analyze.performance_plot(wf: WorkFlow, metric: str = 'MSE') None

Generate plot showing time/MAE/MSE/R2 scores of all trained models on training and test data, sorted by metric. A plot for each objective function in the WorkFlow is automatically generated.

Parameters:
  • wf (WorkFlow) – WorkFlow object with models to analyze.

  • metric (str) –

    Metric to sort models. Options are:

    time

    MAE

    MSE

    R2

    The models are always sorted by their performance on the test set (rather than training).

    Default value "MSE"

Return type:

None