package edu.ntnu.idi.goldfish;

import org.apache.mahout.cf.taste.eval.RecommenderBuilder;

public abstract class Evaluation {

	public int topN;
	public double KTL;
	
	public Evaluation(int topN, double KTL) {
		this.topN = topN;
		this.KTL = KTL;
	}
	
	public abstract RecommenderBuilder getBuilder();
	
	public double getKTL() {
		return KTL;
	}
	
	public int getTopN() {
		return topN;
	}
	
	public String getSimilarity() {
		return this instanceof MemoryBased ? ((MemoryBased) this).similarity.toString() : "";
	}
}

@@ -126,24 +126,164 @@
 %7B%0A%0A%09
-public int topN;
+/**%0A%09 * Used for calculating Precision and Recall metrics%0A%09 */%0A%09public int topN;%0A%09/**%0A%09 * K as in kNN%0A%09 * T as in Threshold %0A%09 * L as in Latent factors%0A%09 */
 %0A%09pu

Add comment in Evaluation.java