pub fn plot_loss_curve(history: &[EpochStats], output_path: &str) -> Result<()>Expand description
Render a loss-vs-epoch line chart to a PNG file.
§Arguments
history— Slice of per-epoch statistics from [Trainer::history].output_path— Destination PNG path (created or overwritten).