ExBurn.Training.HistoryCallback (ex_burn v0.5.0)

Copy Markdown View Source

Records all training metrics into a history list.

Useful for plotting training curves or post-hoc analysis.

Usage

callbacks: [
  ExBurn.Training.HistoryCallback.new()
]

Access the history after training:

history = ExBurn.Training.HistoryCallback.get_history()

Summary

Functions

get_history()

@spec get_history() :: [map()]

get_history(pid)

@spec get_history(pid()) :: [map()]

new()

@spec new() :: (map() -> map())