def diffeo_dump(self, path, name): """ Save the summarized diffeomorphisms system to a pickle file :param path: output directory :param name: name of this system """ # TODO: remove this function, and remove local variable self.system ds_dump(self.system, path, name, "Learned")
def diffeo_dump(self, path, name): ''' Save the summarized diffeomorphisms system to a pickle file :param path: output directory :param name: name of this system ''' # TODO: remove this function, and remove local variable self.system ds_dump(self.system, path, name, "Learned")
def save_results(name, outdir, dds): id_dds = name resdir = os.path.join(outdir, 'results') desc = "Idealized from %s" % name ds_dump(dds, resdir, id_dds, desc)
def save_results(id_learner, id_stream, outdir, dds): id_dds = '%s-%s' % (id_stream, id_learner) resdir = os.path.join(outdir, 'results') desc = "Learned from stream %s and learner %s" % (id_stream, id_learner) ds_dump(dds, resdir, id_dds, desc)
def save_results(id_learner, id_stream, outdir, dds, level=''): id_dds = '%s-%s-r%s' % (id_stream, id_learner, level) resdir = os.path.join(outdir, 'results') desc = "Learned from stream %s and learner %s with %s refinings" % ( id_stream, id_learner, level) ds_dump(dds, resdir, id_dds, desc)
def save_results(id_learner, id_stream, outdir, dds, level=''): id_dds = '%s-%s-r%s' % (id_stream, id_learner, level) resdir = os.path.join(outdir, 'results') desc = "Learned from stream %s and learner %s with %s refinings" % (id_stream, id_learner, level) ds_dump(dds, resdir, id_dds, desc)