edu.udo.cs.miningmart.compiler.wrapper
Class DB_SVM_RG
java.lang.Object
edu.udo.cs.miningmart.compiler.wrapper.SVM_Wrapper
edu.udo.cs.miningmart.compiler.wrapper.DB_SVM
edu.udo.cs.miningmart.compiler.wrapper.DB_SVM_RG
- public class DB_SVM_RG
- extends DB_SVM
This class is the wrapper for a regression SVM running inside the database.
- Version:
- $Id: DB_SVM_RG.java,v 1.4 2006/04/11 14:10:17 euler Exp $
- Author:
- Timm Euler
| Fields inherited from class edu.udo.cs.miningmart.compiler.wrapper.SVM_Wrapper |
b, DEFAULTSAMPLESIZE, forClassification, inputTableName, lossNeg, lossPos, myStepId, noSV, SAMPLE_TABLE_PREFIX, sampleSize, schema, targetColSQLDefinition, targetPositive, TEMP_TABLE_PREFIX, theColumnInfos, useOracle, usePostgres, xiAlphaEstimation |
|
Constructor Summary |
DB_SVM_RG(CompilerDatabaseService databaseObj,
Print printObj,
java.lang.String nameForDatabaseUse,
java.lang.String nameOfDatabaseSchema,
long stepId,
java.lang.String keyCol,
long sampleSize,
java.lang.String lossFunctionPos,
java.lang.String lossFunctionNeg)
Use this constructor if sampling on input data is needed. |
DB_SVM_RG(CompilerDatabaseService databaseObj,
Print printObj,
java.lang.String nameForDatabaseUse,
java.lang.String nameOfDatabaseSchema,
long stepId,
java.lang.String keyCol,
java.lang.String lossFunctionPos,
java.lang.String lossFunctionNeg)
Use this constructor if no sampling on input data is needed. |
|
Method Summary |
protected void |
extractXiAlpha()
No XiAlpha estimation is possible for regression. |
| Methods inherited from class edu.udo.cs.miningmart.compiler.wrapper.SVM_Wrapper |
checkDouble, checkForConversion, createBody, createDecisionFunctionAsSQL_Function, createDecisionFunctionTemplate, createDeclaration, getCompleteSelectString, getDatabaseObj, getDBMS_Datatype, getDecisionFunctionName, getDecisionFunctionNameWithArgumentTypes, getDecisionFunctionNameWithSchema, getInputViewName, getKernelParams, getLogTableName, getModelTableName, getNumberOfSupportVectors, getOutputViewName, getParTableName, getPositiveTargetValue, getPrint, getSampleRatio, getXiAlphaEstimation, insertFunctionIntoDB, replace, setPositiveTargetValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DB_SVM_RG
public DB_SVM_RG(CompilerDatabaseService databaseObj,
Print printObj,
java.lang.String nameForDatabaseUse,
java.lang.String nameOfDatabaseSchema,
long stepId,
java.lang.String keyCol,
java.lang.String lossFunctionPos,
java.lang.String lossFunctionNeg)
throws M4CompilerError
- Use this constructor if no sampling on input data is needed.
- Parameters:
databaseObj - the DB object to be used for database connectionsprintObj - the Print object to be used for log messagesnameForDatabaseUse - Prefix for all functions, view and tables that
this wrapper creates in the databasenameOfDatabaseSchema - Name of the database schema that holds the business
views and tablesstepId - Id of the stepkeyCol - name of the column that is a key to the input tablelossFunctionPos - The positive loss function value for the support
vector machinelossFunctionNeg - The negative loss function value for the support
vector machine
- Throws:
M4CompilerError - A simple exception object with an error message.
DB_SVM_RG
public DB_SVM_RG(CompilerDatabaseService databaseObj,
Print printObj,
java.lang.String nameForDatabaseUse,
java.lang.String nameOfDatabaseSchema,
long stepId,
java.lang.String keyCol,
long sampleSize,
java.lang.String lossFunctionPos,
java.lang.String lossFunctionNeg)
throws M4CompilerError
- Use this constructor if sampling on input data is needed.
- Parameters:
databaseObj - the DB object to be used for database connectionsprintObj - the Print object to be used for log messagesnameForDatabaseUse - Prefix for all functions, view and tables that
this wrapper creates in the databasenameOfDatabaseSchema - Name of the database schema that holds the business
views and tablesstepId - Id of the stepkeyCol - name of the column that is a key to the input tablesampleSize - maximum number of rows to be used to train the SVMlossFunctionPos - The positive loss function value for the support
vector machinelossFunctionNeg - The negative loss function value for the support
vector machine
- Throws:
M4CompilerError - A simple exception object with an error message.
extractXiAlpha
protected void extractXiAlpha()
throws M4CompilerError
- No XiAlpha estimation is possible for regression. So this method throws an exception.
- Specified by:
extractXiAlpha in class SVM_Wrapper
- Throws:
M4CompilerError- See Also:
edu.udo.cs.miningmart.operator.SVM_Wrapper#extractXiAlpha
Copyright © 2001-2005