diefk2: Compute [email protected] at a portion of the answer

Description Usage Arguments Author(s) See Also Examples

Description

This function computes the [email protected] metric at a given kp (portion of answers).

Usage

1
diefk2(inputtrace, inputtest, kp = -1)

Arguments

inputtrace

dataframe with the answer trace. Attributes of the dataframe: test, approach, answer, time.

inputtest

string that specifies the specific test to analyze from the answer trace.

kp

portion of answers to compute diefk (between 0.0 and 1.0). By default and when kp=1.0, this function behaves the same as diefk. It computes the kp portion of of minimum of of number of answers produced by the approaches.

Author(s)

Maribel Acosta

See Also

dieft, diefk, plotAnswerTrace

Examples

1
2
3
# Compute [email protected] when the approaches produced 25% of the answers w.r.t. 
# the approach that produced the least answers.
diefk2(traces, "Q9.sparql", 0.25)

dief documentation built on May 2, 2019, 3:04 a.m.