public abstract class EvalUtils extends Object
Constructor and Description |
---|
EvalUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
calcLogLoss(double R,
double P,
double C)
Calculate Log Loss.
|
static double |
calibrateThreshold(ArrayList<double[]> Y,
double LC_train)
Calibrate a threshold.
|
static double[] |
calibrateThresholds(ArrayList<double[]> Y,
double[] LC_train)
Calibrate thresholds.
|
static HashMap<String,Double> |
evaluateMultiLabel(ArrayList<double[]> Distributions,
ArrayList<int[]> TrueRelevances,
double t)
Calculate Performance Measures.
|
static int[] |
toIntArray(weka.core.Instance x,
int L)
Convert Instance to bit array.
|
public static final int[] toIntArray(weka.core.Instance x, int L)
public static double calibrateThreshold(ArrayList<double[]> Y, double LC_train)
public static double[] calibrateThresholds(ArrayList<double[]> Y, double[] LC_train)
public static HashMap<String,Double> evaluateMultiLabel(ArrayList<double[]> Distributions, ArrayList<int[]> TrueRelevances, double t)
public static double calcLogLoss(double R, double P, double C)
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.