training_curve

Contents

training_curve#

mofaflex.pl.training_curve(model, linecolor='#214D83', linewidth=1, figsize=(12, 4))#

Plot the training curve: -ELBO vs epoch.

Parameters:
  • model (MOFAFLEX) – The MOFA-FLEX model to plot the training curve for.

  • linecolor (str (default: '#214D83')) – The color of the line.

  • linewidth (int (default: 1)) – The width of the line.

  • figsize (tuple[float, float] (default: (12, 4))) – Figure size in inches.

Return type:

plotnine.ggplot