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}")
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}")
def dump_properties(self): dump(self.properties, self.path / 'properties.yaml')
def dump_tags(self): dump(list(self.tags), self.path / 'tags.yaml')
def dump_params(self): dump(self.params, self.path / 'params.yaml')