diefk: Compute metric [email protected]

Description Usage Arguments Author(s) See Also Examples

Description

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

Usage

1
diefk(inputtrace, inputtest, k = -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.

k

number of answers to compute diefk. By default, the function computes the minimum of the total number of answers produced by the approaches.

Author(s)

Maribel Acosta

See Also

dieft, diefk2, plotAnswerTrace

Examples

1
2
3
4
5
# Compute [email protected] when k is the number of answers produced 
# by the approach theat generated the least answers. 
diefk(traces, "Q9.sparql") 
# Compute [email protected] while producing the first k=1000 answers. 
diefk(traces, "Q9.sparql", 1000)

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