Skip to content

Commit

Permalink
Update some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaram committed May 9, 2015
1 parent 8e422e3 commit 22d79ec
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -3,6 +3,10 @@ package evaluation
import org.apache.spark.rdd.RDD
import org.apache.spark.SparkContext._

/**
* MeanAveragePrecision (MAP) calculator based on MATLAB code
* from the encoding eval toolkit at http://www.robots.ox.ac.uk/~vgg/software/enceval_toolkit/
*/
object MeanAveragePrecisionEvaluator {

/**
Expand Down Expand Up @@ -59,7 +63,7 @@ object MeanAveragePrecisionEvaluator {
}

/**
* Get average precision at 10 levels given precisions and recalls
* Get average precision at 11 levels given precisions and recalls
*/
private def getAP(precisions: Array[Double], recalls: Array[Double]) = {
var ap = 0.0
Expand Down

0 comments on commit 22d79ec

Please sign in to comment.