Python 在通气管中赋予标记功能更高的权重

Python 在通气管中赋予标记功能更高的权重,python,nlp,labeling,snorkel,semisupervised-learning,Python,Nlp,Labeling,Snorkel,Semisupervised Learning,我正在使用Snokel为我的训练数据创建标签。我目前有五个标签功能,用于存储在列表中的任务。我使用以下代码应用标签功能: lfs = [lf_a, lf_b, lf_c, lf_d, lf_e] applier = PandasLFApplier(lfs) L_train = applier.apply(df_data_sample) # Train the label model and compute the training labels label_model = LabelModel

我正在使用Snokel为我的训练数据创建标签。我目前有五个标签功能,用于存储在列表中的任务。我使用以下代码应用标签功能:

lfs = [lf_a, lf_b, lf_c, lf_d, lf_e]
applier = PandasLFApplier(lfs)
L_train = applier.apply(df_data_sample)

# Train the label model and compute the training labels
label_model = LabelModel(cardinality=2, verbose=True)
label_model.fit(L_train, n_epochs=500, log_freq=50, seed=123)
在这个任务中,我想赋予lf_e标记函数更高的权重,因为我的测试表明它比其他函数具有更高的精度。不能做到这一点会导致其他lf的输出主导lf_e的输出。我也不想删除任何函数,因为这样做会减少覆盖范围

在浮潜中有没有办法做到这一点