76ba9708db4cfb4b2646daba8a53dfebb7fabdc7,ludwig/contribs/comet.py,Comet,predict,#Comet#,61

Before Change


    def predict(self, *args, **kwargs):
        import comet_ml
        self.experiment = comet_ml.ExistingExperiment()
        self._log_html(" ".join(args))

    def _save_config(self, config):
        config["comet.experiment_key"] = self.experiment.id

After Change



    def predict(self, *args, **kwargs):
        import comet_ml
        try:
            self.experiment = comet_ml.ExistingExperiment()
        except Exception:
            logging.error("Ignored --comet. No ".comet.config" file")
            return

        cli = self._make_command_line(args)
        self._log_html(cli)

    def visualize_figure(self, fig):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: uber/ludwig
Commit Name: 76ba9708db4cfb4b2646daba8a53dfebb7fabdc7
Time: 2019-04-10
Author: doug.blank@gmail.com
File Name: ludwig/contribs/comet.py
Class Name: Comet
Method Name: predict


Project Name: uber/ludwig
Commit Name: 76ba9708db4cfb4b2646daba8a53dfebb7fabdc7
Time: 2019-04-10
Author: doug.blank@gmail.com
File Name: ludwig/contribs/comet.py
Class Name: Comet
Method Name: train


Project Name: uber/ludwig
Commit Name: 76ba9708db4cfb4b2646daba8a53dfebb7fabdc7
Time: 2019-04-10
Author: doug.blank@gmail.com
File Name: ludwig/contribs/comet.py
Class Name: Comet
Method Name: experiment


Project Name: uber/ludwig
Commit Name: 76ba9708db4cfb4b2646daba8a53dfebb7fabdc7
Time: 2019-04-10
Author: doug.blank@gmail.com
File Name: ludwig/contribs/comet.py
Class Name: Comet
Method Name: visualize