Exemplo n.º 1
0
    def __taskid__(self):
        cat = 'all'
        if self.category is not None:
            cat = str(containerHash(self.category))

        tt = ''
        if self.task_type is not None:
            tt = '_' + str(self.task_type)

        return 'BagCalculateGramTask_%s_%d_%s_%s' % (str(
                                                      containerHash(self.h)
                                                      ),
                                                self.D, self.kernel, cat
                                                )\
            + tt
Exemplo n.º 2
0
 def __taskid__(self):
     s = 'SVCompLabelMatrixTask_%d_%d' % (self.h, self.D)
     if self.category is not None:
         s += '_' + str(containerHash(self.category))
     if self.task_type is not None:
         s += '_' + str(self.task_type)
     return s
Exemplo n.º 3
0
 def __taskid__(self):
     s = 'BagNodeIndexTask_%d_%d' % (self.h, self.D)
     if self.category is not None:
         s += '_' + str(containerHash(self.category))
     if self.task_type is not None:
         s += '_' + str(self.task_type)
     return s
Exemplo n.º 4
0
 def __taskid__(self):
     s = 'PCAKernelTask_%d_%d_%s' % (self.h, self.D, self.kernel)
     if self.category is not None:
         s += '_' + str(containerHash(self.category))
     if self.task_type is not None:
         s += '_' + str(self.task_type)
     return s
Exemplo n.º 5
0
 def __taskid__(self):
     """Task id."""
     s = 'BagGraphIndexTask_%d' % (self.D)
     if self.category is not None:
         s += '_'+str(containerHash(self.category))
     if self.task_type is not None:
         s += '_'+str(self.task_type)
     return s
Exemplo n.º 6
0
 def __taskid__(self):
     return 'MajorityEvaluationTask_%s' % (str(
                                                   containerHash(
                                                                 list(
                                                                      self.get_params().items()
                                                                     )
                                                                 )
                                                    )
                                               )
Exemplo n.º 7
0
 def __taskid__(self):
     return 'BagKGridTask_%s' % (str(
                                       containerHash(
                                                     list(
                                                          self.get_params().items()
                                                         )
                                                     )
                                        )
                                   )
Exemplo n.º 8
0
 def __taskid__(self):
     return 'BagClassifierEvalutionTask_%s' % (str(
                                                   containerHash(
                                                                 list(
                                                                      self.get_params().items()
                                                                     )
                                                                 )
                                                    )
                                               )
Exemplo n.º 9
0
 def __taskid__(self):
     return 'HyperSingleOptimizationTask_%s' % (str(
                                                   containerHash(
                                                                 list(
                                                                      self.get_params().items()
                                                                     )
                                                                 )
                                                    )
                                               )
Exemplo n.º 10
0
 def __taskid__(self):
     return 'CVHyperSingleEvalutionTask_%s' % (str(
                                                   containerHash(
                                                                 list(
                                                                      self.get_params().items()
                                                                     )
                                                                 )
                                                    )
                                               )
Exemplo n.º 11
0
 def __taskid__(self):
     s = 'PCAFeatureTask_%d_%d' % (self.h, self.D)
     if self.category is not None:
         s += '_' + str(containerHash(self.category))
     if self.task_type is not None:
         s += '_' + str(self.task_type)
     if self.kernel is not None:
         s += '_' + str(self.kernel)
     return s
Exemplo n.º 12
0
 def __taskid__(self):
     return 'HyperCrossPredictTask_%s' % (str(
                                                   containerHash(
                                                                 list(
                                                                      self.get_params().items()
                                                                     )
                                                                 )
                                                    )
                                               )
Exemplo n.º 13
0
 def __taskid__(self):
     postfix = ''
     if self.tfidf:
         postfix += '_tfidf'
     s = 'PreparedFeatureTask_%d_%d' % (self.h, self.D)\
         + postfix
     if self.category is not None:
         s += '_' + str(containerHash(self.category))
     if self.task_type is not None:
         s += '_' + str(self.task_type)
     return s
Exemplo n.º 14
0
    def __taskid__(self):
        cat = 'all'
        if self.category is not None:
            cat = str(containerHash(self.category))

        tt = ''
        if self.task_type is not None:
            tt = '_'+str(self.task_type)

        return 'BagFeatureTask_%d_%d_%s' % (self.h, self.D, cat)\
               + tt
Exemplo n.º 15
0
 def __taskid__(self):
     return 'W2VSimilarWords_%d_%d_%d' % (self.h, self.D,
                                          containerHash(self.graph_list))
Exemplo n.º 16
0
 def __taskid__(self):
     return 'FSFeatureTransformTask_%s' % (str(
         containerHash(list(self.get_params().items()))))
Exemplo n.º 17
0
 def __taskid__(self):
     return 'FSTuneLinearClassiferTask_%s' % (str(
         containerHash(list(self.get_params().items()))))
Exemplo n.º 18
0
 def __taskid__(self):
     return 'FSEvaluateTask_%s' % (str(
         containerHash(list(self.get_params().items()))))
Exemplo n.º 19
0
 def __taskid__(self):
     return 'KernelSVMTimeTask_%s' % (str(
         containerHash(list(self.get_params().items()))))
Exemplo n.º 20
0
 def __taskid__(self):
     return 'LinearSVMTask_%s' % (str(
         containerHash(list(self.get_params().items()))))
Exemplo n.º 21
0
 def __taskid__(self):
     return 'GraphIndexTask_%s' % containerHash(
                                         self.categories.value
                                     )
Exemplo n.º 22
0
 def __taskid__(self):
     return 'CzechOverallSingleEvaluationTask_%s' % (str(
         containerHash(list(self.get_params().items()))))
Exemplo n.º 23
0
 def __taskid__(self):
     return 'W2VVocabulary_%d_%d_%d' % (self.h, self.D,
                                        containerHash(self.graph_list))
Exemplo n.º 24
0
 def __taskid__(self):
     return "MDS_%d_%d_%s" %\
                 (self.h, self.D,
                  str(containerHash(self.graphs, large=True)))
Exemplo n.º 25
0
 def __taskid__(self):
     return 'ExtractKernelEntitiesTask_%d_%d_%s' % (
         self.h, self.D, str(containerHash(self.graphs)))
Exemplo n.º 26
0
 def __taskid__(self):
     return 'W2VEmbeddingTask_%d_%d_%d' % (self.h, self.D,
                                           containerHash(self.graph_list))
Exemplo n.º 27
0
 def __taskid__(self):
     return "DefineClassTask_%s" % containerHash(self.graphs)
Exemplo n.º 28
0
 def __taskid__(self):
     return "ExtractInfoTask_%s" % containerHash(self.graphs)
Exemplo n.º 29
0
 def __taskid__(self):
     return "CustomKernelTask(%s)_%d_%d_%s" %\
                 (self.kernel_type, self.h, self.D,
                  str(containerHash(self.graphs, large=True)))