mapk computes the mean average precision at k for a set of predictions, in
the context of information retrieval problems.
mapk(k, actual, predicted)
The number of elements of
A list of vectors, where each vector represents a ground truth vector of relevant documents. In each vector, the elements can be numeric or character values, and the order of the elements does not matter.
A list of vectors, where each vector represents the predicted vector
of retrieved documents for the corresponding element of
apk for each pair of elements from
1 2 3 4 5 6 7
 0.3333333  0.5648148
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.