ExBurn.Training.HistoryCallback (ex_burn v0.6.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(pid)

The :history_pid key is added to the metrics map by new/0.

Summary

Functions

get_history(pid)

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

new()

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