mythos.ui.loggers.console

Logger logging mythos optimization results to the console.

Classes

ConsoleLogger

Console logger.

Module Contents

class mythos.ui.loggers.console.ConsoleLogger[source]

Bases: mythos.ui.loggers.logger.Logger

Console logger.

log_metric(name: str, value: float, step: int) None[source]

Log the value for name at step.

Parameters:
  • name (str) – the name of the metric

  • value (float) – the value of the metric

  • step (int) – the step at which the metric was recorded

update_status(name: str, kind: mythos.ui.loggers.logger.StatusKind, status: mythos.ui.loggers.logger.Status) None[source]

Updates the status of a simulator, objective, or observable.