|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautoweka.ClassifierResult
public class ClassifierResult
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 |
---|
public ClassifierResult(java.lang.String typeName)
public ClassifierResult(ClassifierResult.Metric type)
Method Detail |
---|
public boolean getCompleted()
public void setCompleted(boolean completed)
public float getRawScore()
public void setScoreFromEval(Evaluation eval, Instances testingData)
public void setPercentEvaluated(Evaluation eval)
public float getPercentEvaluated()
public void _setRawScore(float score)
public float getNormalizationPenalty()
public void setRegularizationPenalty(float penalty)
public float getTrainingTime()
public void setTrainingTime(float time)
public float getAttributeSelectionTime()
public void setAttributeSelectionTime(float time)
public float getEvaluationTime()
public void setEvaluationTime(float time)
public float getTime()
public float getScore()
public java.lang.String getDescription()
public void setClassifier(AbstractClassifier cls)
public AbstractClassifier getClassifier()
public void setAttributeSelection(AttributeSelection search)
public AttributeSelection getAttributeSelection()
public void setMemOut(boolean memout)
public boolean getMemOut()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |