snorkel.classification.LogWriterConfig

class snorkel.classification.LogWriterConfig[source]

Bases: tuple

Manager for checkpointing model.

Parameters
  • log_dir – The root directory where logs should be saved

  • run_name – The name of this particular run (defaults to date-time combination if None)

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__

Initialize self.

count(value)

index(value, [start, [stop]])

Raises ValueError if the value is not present.

Attributes

log_dir

Alias for field number 0

run_name

Alias for field number 1

count(value) → integer -- return number of occurrences of value[source]
index(value[, start[, stop]]) → integer -- return first index of value.[source]

Raises ValueError if the value is not present.

property log_dir[source]

Alias for field number 0

property run_name[source]

Alias for field number 1