/** * Returns the probability of the most likely label * * @return the highest probability */ public double getMaxValue() { return get(getMax()); }
/** * Returns the log probability associated with a label * * @param t the label whose log probability needs to be returned * @return the log probability associated with the label */ public Double getLog(T t) { return Math.log(get(t)); }
/** * Returns the probability of the most likely label * * @return the highest probability */ public double getMaxValue() { return get(getMax()); }
/** * Returns the log probability associated with a label * * @param t the label whose log probability needs to be returned * @return the log probability associated with the label */ public Double getLog(T t) { return Math.log(get(t)); }
/** * Returns the probability of the most likely label * * @return the highest probability */ public double getMaxValue() { return get(getMax()); }
prior[i] = probabilities.get(i);
/** * Returns the log probability associated with a label * * @param t the label whose log probability needs to be returned * @return the log probability associated with the label */ public Double getLog(T t) { return Math.log(get(t)); }
prior[i] = probabilities.get(i);
prior[i] = probabilities.get(i);