public Evaluator(final RankerType rType, final METRIC trainMetric, final METRIC testMetric, final int k) { this.type = rType; trainScorer = mFact.createScorer(trainMetric, k); testScorer = mFact.createScorer(testMetric, k); if (!qrelFile.isEmpty()) { trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer.loadExternalRelevanceJudgment(qrelFile); } }
public Evaluator(final RankerType rType, final METRIC trainMetric, final METRIC testMetric) { this.type = rType; trainScorer = mFact.createScorer(trainMetric); testScorer = mFact.createScorer(testMetric); if (!qrelFile.isEmpty()) { trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer.loadExternalRelevanceJudgment(qrelFile); } }
public Evaluator(final RankerType rType, final METRIC metric, final int k) { this.type = rType; trainScorer = mFact.createScorer(metric, k); if (!qrelFile.isEmpty()) { trainScorer.loadExternalRelevanceJudgment(qrelFile); } testScorer = trainScorer; }
public Evaluator(final RankerType rType, final METRIC trainMetric, final int trainK, final METRIC testMetric, final int testK) { this.type = rType; trainScorer = mFact.createScorer(trainMetric, trainK); testScorer = mFact.createScorer(testMetric, testK); if (!qrelFile.isEmpty()) { trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer.loadExternalRelevanceJudgment(qrelFile); } }
public Evaluator(final RankerType rType, final String trainMetric, final String testMetric) { this.type = rType; trainScorer = mFact.createScorer(trainMetric); testScorer = mFact.createScorer(testMetric); if (!qrelFile.isEmpty()) { trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer.loadExternalRelevanceJudgment(qrelFile); } }
public Evaluator(RANKER_TYPE rType, METRIC metric, int k) { this.type = rType; trainScorer = mFact.createScorer(metric, k); if(qrelFile.compareTo("") != 0) trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer = trainScorer; } public Evaluator(RANKER_TYPE rType, String trainMetric, String testMetric)
public Evaluator(RANKER_TYPE rType, METRIC trainMetric, METRIC testMetric, int k) { this.type = rType; trainScorer = mFact.createScorer(trainMetric, k); testScorer = mFact.createScorer(testMetric, k); if(qrelFile.compareTo("") != 0) { trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer.loadExternalRelevanceJudgment(qrelFile); } } public Evaluator(RANKER_TYPE rType, METRIC metric, int k)
public Evaluator(RANKER_TYPE rType, String trainMetric, String testMetric) { this.type = rType; trainScorer = mFact.createScorer(trainMetric); testScorer = mFact.createScorer(testMetric); if(qrelFile.compareTo("") != 0) { trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer.loadExternalRelevanceJudgment(qrelFile); } }
public Evaluator(RANKER_TYPE rType, METRIC trainMetric, METRIC testMetric) { this.type = rType; trainScorer = mFact.createScorer(trainMetric); testScorer = mFact.createScorer(testMetric); if(qrelFile.compareTo("") != 0) { trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer.loadExternalRelevanceJudgment(qrelFile); } } public Evaluator(RANKER_TYPE rType, METRIC trainMetric, int trainK, METRIC testMetric, int testK)
public Evaluator(RANKER_TYPE rType, METRIC trainMetric, int trainK, METRIC testMetric, int testK) { this.type = rType; trainScorer = mFact.createScorer(trainMetric, trainK); testScorer = mFact.createScorer(testMetric, testK); if(qrelFile.compareTo("") != 0) { trainScorer.loadExternalRelevanceJudgment(qrelFile); testScorer.loadExternalRelevanceJudgment(qrelFile); } } public Evaluator(RANKER_TYPE rType, METRIC trainMetric, METRIC testMetric, int k)