|
||||||||||
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
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. |
EstimatedStatistics |
estimateStatistics(Step theStep)
Abstract method for estimating statistics for a concept. |
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 ExecutableOperator
lazy
- If TRUE, run in lazy mode: create atmost one output
ColumnSet
java.sql.SQLException
M4CompilerError
edu.udo.cs.miningmart.operator.Operator#createStatement
public void writeResults() throws java.sql.SQLException, M4CompilerError
java.sql.SQLException
M4CompilerError
edu.udo.cs.miningmart.operator.ExecutableOperator#writeResults()
public void compileStatement() throws java.sql.SQLException, M4CompilerError
ExecutableOperator
compileStatement
in class ExecutableOperator
java.sql.SQLException
M4CompilerError
edu.udo.cs.miningmart.m4.ExecutableOperator#compileStatement()
public EstimatedStatistics estimateStatistics(Step theStep) throws M4Exception
ExecutableOperator
estimateStatistics
in class ExecutableOperator
theStep
- the step that creates the output concept whose statistics
are to be estimated
EstimatedStatistics
object, some of whose values
may or may not be available, depending on whether they could be guessed
or inferred.
M4Exception
ExecutableOperator.estimateStatistics(Step)
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 |