Training losses MLJModelInterface.training_losses Trait values can also be set using the metadata_model method, see below.