예제 #1
0
 def __init__(self, name='basicModel', n_folds=5, config=None):
     name = 'qiuqiuv2' + config.main_feature
     self.hidden_dim = 300
     BasicDeepModel.__init__(self,
                             name=name,
                             n_folds=n_folds,
                             config=config)
예제 #2
0
 def __init__(self,
              name='basicModel',
              num_flods=5,
              model_type=1,
              config=None):
     self.model_type = model_type
     name = 'textCNN' + str(model_type) + config.main_feature
     BasicDeepModel.__init__(self,
                             name=name,
                             n_folds=num_flods,
                             config=config)
예제 #3
0
 def __init__(self, name='basicModel', num_flods=10, config=None):
     name = 'RCNN' + config.main_feature
     BasicDeepModel.__init__(self,
                             name=name,
                             n_folds=num_flods,
                             config=config)
 def __init__(self, name='basicModel', n_folds=5, config=None):
     name = 'textCNN' + config.main_feature
     BasicDeepModel.__init__(self,
                             name=name,
                             n_folds=n_folds,
                             config=config)
예제 #5
0
 def __init__(self, name='basicModel', n_folds=5, config=None):
     name = 'attention' + config.main_feature
     self.hidden_dim = 150
     BasicDeepModel.__init__(self, name=name, n_folds=n_folds, config=config)