|
||||||||||
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
edu.udo.cs.miningmart.operator.ComputeSVMError
This class computes an error for the SupportVectorMachine. It is based
on the application of the operator SupportVectorMachineForRegression
previously in the operator chain.
SupportVectorMachineForRegression
Field Summary |
Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator |
generatedSQLDefinitions |
Constructor Summary | |
ComputeSVMError()
|
Method Summary | |
double |
computeResult(double[] actualvalue,
double[] predictedvalue)
Abstract method to be implemented by all subclasses. |
void |
createStatement(boolean lazy)
Abstract method for generating an sql-statement. |
Value |
getEpsilon()
Gets the epsilon. |
Value |
getLossFunctionNeg()
Gets the lossFunctionNeg. |
Value |
getLossFunctionPos()
Gets the lossFunctionPos. |
Methods inherited from class edu.udo.cs.miningmart.operator.EvaluateResults |
compileStatement, estimateStatistics, getActualValueAttribute, getInputConcept, getPredictedValueAttribute, writeResults |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComputeSVMError()
Method Detail |
public double computeResult(double[] actualvalue, double[] predictedvalue) throws M4CompilerError
EvaluateResults
computeResult
in class EvaluateResults
actualvalue
- An array with the true values.predictedvalue
- An array with the predicted values.
M4CompilerError
EvaluateResults.computeResult(double[], double[])
public void createStatement(boolean lazy) throws java.sql.SQLException, M4CompilerError
ExecutableOperator
createStatement
in class EvaluateResults
java.sql.SQLException
M4CompilerError
edu.udo.cs.miningmart.operator.Operator#createStatement
public Value getEpsilon() throws M4CompilerError
M4CompilerError
public Value getLossFunctionNeg() throws M4CompilerError
M4CompilerError
public Value getLossFunctionPos() throws M4CompilerError
M4CompilerError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |