edu.udo.cs.yale.tools.math
Class WeightedConfidenceAndLabel
java.lang.Object
edu.udo.cs.yale.tools.math.WeightedConfidenceAndLabel
- All Implemented Interfaces:
- java.lang.Comparable
public class WeightedConfidenceAndLabel
- extends java.lang.Object
- implements java.lang.Comparable
Helper class for finding thresholds for cost sensitive learning or
calculating the AUC performance criterion.
- Version:
- $Id: WeightedConfidenceAndLabel.java,v 1.1 2006/04/13 15:52:03
ingomierswa Exp $
- Author:
- Martin Scholz, Ingo Mierswa
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
confidence
private double confidence
label
private double label
prediction
private double prediction
weight
private double weight
WeightedConfidenceAndLabel
public WeightedConfidenceAndLabel(double confidence,
double label,
double prediction)
WeightedConfidenceAndLabel
public WeightedConfidenceAndLabel(double confidence,
double label,
double prediction,
double weight)
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
getLabel
public double getLabel()
getPrediction
public double getPrediction()
getConfidence
public double getConfidence()
getWeight
public double getWeight()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2001-2006