plot_history function

Plot training loss history for a neuralGAM model