Here you can find the source of getPerplexity(Iterator
public static double getPerplexity(Iterator<Double> probStream)
//package com.java2s; //License from project: LGPL import java.util.Iterator; public class Main { public static double getPerplexity(Iterator<Double> probStream) { double sum = 0.0f; return sum; }//w w w . ja va 2s .c o m }