Example #1
0
 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")
Example #2
0
 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")
Example #3
0
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)
Example #4
0
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)
Example #5
0
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)
Example #6
0
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)
Example #7
0
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)
Example #8
0
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)