autoweka
Class ClassifierResult

java.lang.Object
  extended by autoweka.ClassifierResult

public class ClassifierResult
extends java.lang.Object

Wraps all the data that comes from training a classifier so it can be passed back to a SMBO method


Nested Class Summary
static class ClassifierResult.AreaAboveROC
           
static class ClassifierResult.ErrorRateMetric
           
static class ClassifierResult.MeanAbsoluteErrorMetric
           
static interface ClassifierResult.Metric
          Generic interface for different Metrics You can define custom metrics and use them by using their full class name
static class ClassifierResult.RelativeAbsoluteErrorMetric
           
static class ClassifierResult.RootMeanSquaredErrorMetric
           
static class ClassifierResult.RootRelativeSquaredErrorMetric
           
 
Constructor Summary
ClassifierResult(ClassifierResult.Metric type)
           
ClassifierResult(java.lang.String typeName)
           
 
Method Summary
 void _setRawScore(float score)
          Really shouldn't use this method
 AttributeSelection getAttributeSelection()
           
 float getAttributeSelectionTime()
           
 AbstractClassifier getClassifier()
           
 boolean getCompleted()
           
 java.lang.String getDescription()
           
 float getEvaluationTime()
           
 boolean getMemOut()
           
 float getNormalizationPenalty()
           
 float getPercentEvaluated()
           
 float getRawScore()
           
 float getScore()
          Gets the 'score' for this result, which includes the regularization penalty plus the error rate
 float getTime()
          Gets the total time spent dealing with this classifier
 float getTrainingTime()
           
 void setAttributeSelection(AttributeSelection search)
           
 void setAttributeSelectionTime(float time)
           
 void setClassifier(AbstractClassifier cls)
           
 void setCompleted(boolean completed)
           
 void setEvaluationTime(float time)
           
 void setMemOut(boolean memout)
           
 void setPercentEvaluated(Evaluation eval)
           
 void setRegularizationPenalty(float penalty)
           
 void setScoreFromEval(Evaluation eval, Instances testingData)
           
 void setTrainingTime(float time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassifierResult

public ClassifierResult(java.lang.String typeName)

ClassifierResult

public ClassifierResult(ClassifierResult.Metric type)
Method Detail

getCompleted

public boolean getCompleted()

setCompleted

public void setCompleted(boolean completed)

getRawScore

public float getRawScore()

setScoreFromEval

public void setScoreFromEval(Evaluation eval,
                             Instances testingData)

setPercentEvaluated

public void setPercentEvaluated(Evaluation eval)

getPercentEvaluated

public float getPercentEvaluated()

_setRawScore

public void _setRawScore(float score)
Really shouldn't use this method


getNormalizationPenalty

public float getNormalizationPenalty()

setRegularizationPenalty

public void setRegularizationPenalty(float penalty)

getTrainingTime

public float getTrainingTime()

setTrainingTime

public void setTrainingTime(float time)

getAttributeSelectionTime

public float getAttributeSelectionTime()

setAttributeSelectionTime

public void setAttributeSelectionTime(float time)

getEvaluationTime

public float getEvaluationTime()

setEvaluationTime

public void setEvaluationTime(float time)

getTime

public float getTime()
Gets the total time spent dealing with this classifier


getScore

public float getScore()
Gets the 'score' for this result, which includes the regularization penalty plus the error rate


getDescription

public java.lang.String getDescription()

setClassifier

public void setClassifier(AbstractClassifier cls)

getClassifier

public AbstractClassifier getClassifier()

setAttributeSelection

public void setAttributeSelection(AttributeSelection search)

getAttributeSelection

public AttributeSelection getAttributeSelection()

setMemOut

public void setMemOut(boolean memout)

getMemOut

public boolean getMemOut()