|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.core.AbstractActor
adams.flow.transformer.AbstractTransformer
adams.flow.transformer.WekaEvaluationSummary
public class WekaEvaluationSummary
Generates a summary string of the weka.classifiers.Evaluation objects that it receives.
Input/output:-D (property: debug) If set to true, scheme may output additional info to the console.
-name <java.lang.String> (property: name) The name of the actor. default: EvaluationSummary
-annotation <adams.core.base.BaseText> (property: annotations) The annotations to attach to this actor. default:
-skip (property: skip) If set to true, transformation is skipped and the input token is just forwarded as it is.
-relation (property: outputRelationName) If set to true, then the relation name of the dataset is output as well.
-complexity-stats (property: complexityStatistics) If set to true, then the complexity statistics will be output as well.
-class-details (property: classDetails) If set to true, then the class details are output as well.
-comment <adams.core.base.BaseText> (property: comment) An optional comment to output in the summary. default:
| Field Summary | |
|---|---|
protected boolean |
m_ClassDetails
whether to print the class details as well. |
protected BaseText |
m_Comment
an optional comment to output. |
protected boolean |
m_ComplexityStatistics
whether to print the complexity statistics as well. |
protected boolean |
m_OutputRelationName
whether to print the relation name of the dataset a well. |
| Fields inherited from class adams.flow.transformer.AbstractTransformer |
|---|
BACKUP_INPUT, BACKUP_OUTPUT, m_InputToken, m_OutputToken |
| Fields inherited from class adams.flow.core.AbstractActor |
|---|
FILE_EXTENSION, FILE_EXTENSION_GZ, m_Annotations, m_BackupState, m_DetectedObjectVariables, m_DetectedVariables, m_ErrorHandler, m_Executed, m_FullName, m_Headless, m_Name, m_Parent, m_Root, m_Self, m_Skip, m_StopFlowOnError, m_StopMessage, m_Stopped, m_StorageHandler, m_VariablesUpdated |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
WekaEvaluationSummary()
|
|
| Method Summary | |
|---|---|
Class[] |
accepts()
Returns the class that the consumer accepts. |
String |
classDetailsTipText()
Returns the tip text for this property. |
String |
commentTipText()
Returns the tip text for this property. |
String |
complexityStatisticsTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected String |
doExecute()
Executes the flow item. |
Class[] |
generates()
Returns the class of objects that it generates. |
boolean |
getClassDetails()
Returns whether the class details are output as well. |
BaseText |
getComment()
Returns the comment to output in the summary. |
boolean |
getComplexityStatistics()
Returns whether the complexity stats are output as well. |
boolean |
getOutputRelationName()
Returns whether the relation name is output as well. |
String |
globalInfo()
Returns a string describing the object. |
String |
outputRelationNameTipText()
Returns the tip text for this property. |
void |
setClassDetails(boolean value)
Sets whether the class details are output as well. |
void |
setComment(BaseText value)
Sets the comment to output in the summary. |
void |
setComplexityStatistics(boolean value)
Sets whether to output complexity stats as well. |
void |
setOutputRelationName(boolean value)
Sets whether to output the relation name as well. |
| Methods inherited from class adams.flow.transformer.AbstractTransformer |
|---|
backupState, execute, hasPendingOutput, input, output, postExecute, reset, restoreState, wrapUp |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debugLevelTipText, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean m_OutputRelationName
protected boolean m_ComplexityStatistics
protected boolean m_ClassDetails
protected BaseText m_Comment
| Constructor Detail |
|---|
public WekaEvaluationSummary()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractActorpublic Class[] accepts()
public Class[] generates()
public void setOutputRelationName(boolean value)
value - if true then the relation name is output as wellpublic boolean getOutputRelationName()
public String outputRelationNameTipText()
public void setComplexityStatistics(boolean value)
value - if true then the complexity stats will be output as wellpublic boolean getComplexityStatistics()
public String complexityStatisticsTipText()
public void setClassDetails(boolean value)
value - if true then the class details are output as wellpublic boolean getClassDetails()
public String classDetailsTipText()
public void setComment(BaseText value)
value - the commentpublic BaseText getComment()
public String commentTipText()
protected String doExecute()
doExecute in class AbstractActor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||