public double getDiversity(List<Map<Integer, Double>> resourceTopics) {
		double diversity = 0.0;
		if (this.predictionData == null || this.predictionData.size() == 0) {
			return diversity;
		}
		
		List<Integer> predictionIDs = new ArrayList<Integer>(); 
		for (String res : this.predictionData) {
			predictionIDs.add(Integer.valueOf(res));
		}		
		for (int resID : predictionIDs) {
			diversity += getNovelty(resID, predictionIDs, resourceTopics);
		}		
		return diversity / this.predictionData.size();
	}