Ejemplo n.º 1
0
 def __init__(self, test_data_path, feature_template_list,
              feature_weight_vector, output_path):
     self.test_data_path = test_data_path
     self.featureModel = FeatureVectorWeight(feature_template_list,
                                             list(LABEL_SET),
                                             feature_weight_vector)
     self.output_path = output_path
Ejemplo n.º 2
0
 def __init__(self, train_data_path, feature_template_list,
              model_params_path):
     self.train_data_path = train_data_path
     self.featureModel = FeatureVectorWeight(feature_template_list,
                                             list(LABEL_SET))
     self.model_params_path = model_params_path