dacapo.store.mongo_stats_store
Module Contents
Classes
A MongoDB store for run statistics. Used to store and retrieve training |
Attributes
- dacapo.store.mongo_stats_store.logger
- class dacapo.store.mongo_stats_store.MongoStatsStore(db_host, db_name)
A MongoDB store for run statistics. Used to store and retrieve training statistics and validation scores.
- store_training_stats(run_name: str, stats: dacapo.experiments.TrainingStats)
Store training stats of a given run.
- retrieve_training_stats(run_name: str, subsample: bool = False) dacapo.experiments.TrainingStats
Retrieve the training stats for a given run.
- store_validation_iteration_scores(run_name: str, scores: dacapo.experiments.ValidationScores)
Store the validation iteration scores of a given run.
- retrieve_validation_iteration_scores(run_name: str, subsample: bool = False, validation_interval: int | None = None) List[dacapo.experiments.ValidationIterationScores]
Retrieve the validation iteration scores for a given run.