shared
Class ScoringMetrics

java.lang.Object
  |
  +--shared.ScoringMetrics

public class ScoringMetrics
extends java.lang.Object

scoring device for CatTestResult


Field Summary
 double maximumLoss
          The maximum amount of loss.
 double meanAbsoluteError
          The mean absolute error value.
 double meanSquaredError
          The mean squared error value.
 double minimumLoss
          The minimum amount of loss.
 int numCorrect
          The number fo instances correctly classified.
 int numIncorrect
          The number fo instances incorrectly classified.
 double totalLogLoss
          The total amount of log loss.
 double totalLoss
          The total amount of loss.
 double weightCorrect
          The weight of correctly classified instances.
 double weightIncorrect
          The weight of incorrectly classified instances.
 
Constructor Summary
ScoringMetrics()
          Constructor.
 
Method Summary
 double totalWeight()
          Returns the total weight of instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numCorrect

public int numCorrect
The number fo instances correctly classified.

numIncorrect

public int numIncorrect
The number fo instances incorrectly classified.

totalLoss

public double totalLoss
The total amount of loss.

minimumLoss

public double minimumLoss
The minimum amount of loss.

maximumLoss

public double maximumLoss
The maximum amount of loss.

weightCorrect

public double weightCorrect
The weight of correctly classified instances.

weightIncorrect

public double weightIncorrect
The weight of incorrectly classified instances.

meanSquaredError

public double meanSquaredError
The mean squared error value.

meanAbsoluteError

public double meanAbsoluteError
The mean absolute error value.

totalLogLoss

public double totalLogLoss
The total amount of log loss.
Constructor Detail

ScoringMetrics

public ScoringMetrics()
Constructor.
Method Detail

totalWeight

public double totalWeight()
Returns the total weight of instances.
Returns:
The total weight.