Example #1
0
 def dump_texts(self):
     dump(self._texts, self.path / 'texts.json')
     try:
         df = self.texts_to_df()
         df.to_csv(self.path / 'texts.csv', index=False)
     except Exception as e:
         warnings.warn(f"Can't convert and save texts to DataFrame. {e}")
Example #2
0
 def dump_metrics(self):
     dump(self._metrics, self.path / 'metrics.json')
     try:
         df = self.metrics_to_df()
         df.to_csv(self.path / 'metrics.csv', index=False)
     except Exception as e:
         warnings.warn(f"Can't convert and save metrics to DataFrame. {e}")
Example #3
0
 def dump_properties(self):
     dump(self.properties, self.path / 'properties.yaml')
Example #4
0
 def dump_tags(self):
     dump(list(self.tags), self.path / 'tags.yaml')
Example #5
0
 def dump_params(self):
     dump(self.params, self.path / 'params.yaml')