mri.event package

mri.event.BaseEvent module

class mri.event.BaseEvent.BaseEvent

Bases: object

Base container for new events

mri.event.TrainingEvent module

class mri.event.TrainingEvent.TrainingEvent(attributes, time_axis)

Bases: mri.event.BaseEvent.BaseEvent

Container for training events. Training events must have a time-axis variable, and must have at least one other attribute to be valid

Parameters:
  • time_axis (string) – Defines which attribute represents time (eg iteration number or epoch, etc)
  • attributes (dict) – Dictonary of attributes for this training event. Must include the time axis attribute and at least one other