public class FuncLogProbScore extends SimpleNumberFunction
Modifier and Type | Class and Description |
---|---|
static class |
FuncLogProbScore.Instance |
Modifier and Type | Field and Description |
---|---|
static java.util.ArrayList<FuncLogProbScore.Instance> |
allFunctions |
int |
instanceNdx |
value
EMPTY_TERM, parts
Constructor and Description |
---|
FuncLogProbScore() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,double[]> |
getFeatureValues()
use this to get the feature informativeness, GROUND_TRUTH is the key for the truth
|
static com.ibm.bluej.util.common.PrecisionRecallThreshold |
getPR() |
static com.ibm.bluej.util.common.Pair<java.lang.Double,java.lang.Double> |
getSummaryScores() |
boolean |
isPositiveInstance() |
static double |
scoreToProb(double s) |
java.lang.String |
toString() |
update
getValue
addUsedBy, getUsedBy, ground, isFunctionFree, isReady, parserSetsFocusIndicator, valueClone, valueEquals, valueHash, zzParserInitUsedBy
compareTo, isGround
crossClassCompare, gatherTopFunctions, getBoolean, getCollection, getDouble, getInt, getSparseVector, getString, getTerm, getVector, mdjbFirst, mdjbNext, testRecursive
public int instanceNdx
public static java.util.ArrayList<FuncLogProbScore.Instance> allFunctions
public static double scoreToProb(double s)
public boolean isPositiveInstance()
public static com.ibm.bluej.util.common.PrecisionRecallThreshold getPR()
public static java.util.Map<java.lang.String,double[]> getFeatureValues()
public static com.ibm.bluej.util.common.Pair<java.lang.Double,java.lang.Double> getSummaryScores()