timeserio.keras.callbacks module

class timeserio.keras.callbacks.HistoryLogger(batches=True)[source]

Bases: keras.callbacks.Callback

Log all history, including per-batch losses and metrics.

Based on keras.callbacks.History

on_batch_end(batch, logs=None)[source]
on_epoch_begin(epoch, logs=None)[source]
on_epoch_end(epoch, logs=None)[source]
on_train_begin(logs=None)[source]
on_train_end(logs=None)[source]
class timeserio.keras.callbacks.TimeLogger[source]

Bases: keras.callbacks.Callback

Logs the times of training the network and per epoch.

A summary of the total statistics is given when the network finishes the training process.

on_epoch_begin(epoch, logs=None)[source]
on_epoch_end(epoch, logs=None)[source]
on_train_begin(logs=None)[source]
on_train_end(logs=None)[source]