|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.miningmart.operator.ExecutableOperator
edu.udo.cs.miningmart.operator.EvaluateResults
public abstract class EvaluateResults
This class is the superclass for evaluation operators. They do not have an output on the conceptual level, ie no output concept or output attribute. They may be used to evaluate a data mining operator. They compare the values of two columns.
| Field Summary |
|---|
| Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator |
|---|
generatedSQLDefinitions |
| Constructor Summary | |
|---|---|
EvaluateResults()
|
|
| Method Summary | |
|---|---|
void |
compileStatement()
Abstract method for compiling the generated sql-statement. |
abstract double |
computeResult(double[] actualvalue,
double[] predicted)
Abstract method to be implemented by all subclasses. |
void |
createStatement(boolean lazy)
Abstract method for generating an sql-statement. |
BaseAttribute |
getActualValueAttribute()
Gets the actualValueAttribute. |
Concept |
getInputConcept()
Gets the input Concept. |
BaseAttribute |
getPredictedValueAttribute()
Gets the predictedValueAttribute. |
void |
writeResults()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvaluateResults()
| Method Detail |
|---|
public abstract double computeResult(double[] actualvalue,
double[] predicted)
throws M4CompilerError
actualvalue - An array with the true values.predicted - An array with the predicted values.
M4CompilerError
public void createStatement(boolean lazy)
throws java.sql.SQLException,
M4CompilerError
ExecutableOperator
createStatement in class ExecutableOperatorlazy - If TRUE, run in lazy mode: create atmost one output
ColumnSet
java.sql.SQLException
M4CompilerErroredu.udo.cs.miningmart.operator.Operator#createStatement
public void writeResults()
throws java.sql.SQLException,
M4CompilerError
java.sql.SQLException
M4CompilerErroredu.udo.cs.miningmart.operator.ExecutableOperator#writeResults()
public void compileStatement()
throws java.sql.SQLException,
M4CompilerError
ExecutableOperator
compileStatement in class ExecutableOperatorjava.sql.SQLException
M4CompilerErroredu.udo.cs.miningmart.m4.ExecutableOperator#compileStatement()
public BaseAttribute getActualValueAttribute()
throws M4CompilerError
M4CompilerError
public Concept getInputConcept()
throws M4CompilerError
M4CompilerError
public BaseAttribute getPredictedValueAttribute()
throws M4CompilerError
M4CompilerError
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||