r,p) {
	f = [];
	if (r < 0.01 || p < 0.01){
		return [];
	}
	fc = (1+Math.pow(beta,2))*r*p/(Math.pow(beta,2)*p+r);
	x0 = Math.pow(beta,2) * fc *1/(-fc + 1 + Math.pow(beta,2)*1);
	range = 1 - x0;
	delta = range/300;
	for (var j = 0; j <= 300; j += 1) {
		x = x0+j*delta;
		f.push([x, fc*x/(Math.pow(beta,2)*(-fc+x) + x)]);
	}
	return f;
	}

	// Algorithm performance points and their corresponding F-isolines
	var points = [
		{% for item in data %}
			[ {{ item.recall }}, {{ item.precision }}],
		{% endfor %}
	