Metrics¶
Metrics module
-
class
smexperiments.metrics.SageMakerFileMetricsWriter(metrics_file_path=None)¶ Bases:
objectWrites metric data to file.
-
log_metric(metric_name, value, timestamp=None, iteration_number=None)¶ Write a metric to file.
Parameters: Raises: SageMakerMetricsWriterException– If the metrics file is closed.AttributeError– If file has been initialized and the writer hasn’t been closed.
-
close()¶ Closes the metric file.
-