replicating SLD on TweetSentQuant

This commit is contained in:
Alejandro Moreo Fernandez 2021-01-13 09:47:12 +01:00
parent 3c5a53bdec
commit 8cc2e75534
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ def quantification_models():
yield 'acc', qp.method.aggregative.ACC(newLR()), lr_params yield 'acc', qp.method.aggregative.ACC(newLR()), lr_params
yield 'pcc', qp.method.aggregative.PCC(newLR()), lr_params yield 'pcc', qp.method.aggregative.PCC(newLR()), lr_params
yield 'pacc', qp.method.aggregative.PACC(newLR()), lr_params yield 'pacc', qp.method.aggregative.PACC(newLR()), lr_params
yield 'sld', lambda learner: qp.method.aggregative.EMQ(newLR()), lr_params
def evaluate_experiment(true_prevalences, estim_prevalences): def evaluate_experiment(true_prevalences, estim_prevalences):