|
Oracle Data Mining Java API Reference 10g Release 1 (10.1) B12276-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--oracle.dmt.odm.MiningObject
|
+--oracle.dmt.odm.LocatableObject
|
+--oracle.dmt.odm.settings.function.MiningFunctionSettings
|
+--oracle.dmt.odm.settings.function.SupervisedFunctionSettings
|
+--oracle.dmt.odm.settings.function.RegressionFunctionSettings
An instance of RegressionFunctionSettings describes the settings necessary to build a Regression (regression) model by using a Support Vector Machine mining algorithm. RegressionFunctionSettings inherits from SupervisedFunctionSettings. It contains an error metric. The specified value of an error is described by an enum to indicate that the metric is used by test to report the model prediction error rate.
| Constructor Summary | |
RegressionFunctionSettings(LogicalDataSpecification lds, DataUsageSpecification dus)Creates an instance of RegressionFunctionSettings object. | |
RegressionFunctionSettings(LogicalDataSpecification lds, DataUsageSpecification dus, MiningAlgorithmSettings algorithm)Creates an instance of RegressionFunctionSettings object. | |
| Method Summary | |
static RegressionFunctionSettings |
create(Connection dmsConn, MiningAlgorithmSettings algorithm, PhysicalDataSpecification pdsDataSpec, java.lang.String sTargetAttrName, DataPreparationStatus dpStatus)Creates an instance of RegressionFunctionSettings from the specified parameters. |
ErrorMetric |
getErrorMetric()Returns the value of errorMetric. |
MiningAttribute |
getTargetAttribute()Returns the target attribute set in this functional settings. |
void |
setErrorMetric(ErrorMetric errorMetric)Sets the error metric of the input data. |
void |
validate()Validates the contents of this mining function settings. |
| Methods inherited from class oracle.dmt.odm.settings.function.SupervisedFunctionSettings |
getDesiredAccuracy, getPredictorAttributes, getTargetAttributes, getUnpreparedPredictorAttributes, setDesiredAccuracy |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RegressionFunctionSettings(LogicalDataSpecification lds,
DataUsageSpecification dus,
MiningAlgorithmSettings algorithm)
throws InvalidArgumentException
RegressionFunctionSettings object.lds - An instance of LogicalDataSpecification that specifies the logical representation of the input data used for model buildingdus - An instance of DataUsageSpecification that defines how the logical data is to be used for model buildingalgorithm - An instance of MiningAlgorithmSettings that specifies a classification algorithm to be used for model building. If null, a default algorithm is chosen by the DMS.InvalidArgumentException -
lds is null, ordus is null.
public RegressionFunctionSettings(LogicalDataSpecification lds,
DataUsageSpecification dus)
throws InvalidArgumentException
RegressionFunctionSettings object. A default algorithm settings is selected by the DMS, and applied to model building.lds - An instance of LogicalDataSpecification that specifies the logical representation of the input data used for model buildingdus - An instance of DataUsageSpecification that defines how the logical data is to be used for model buildingInvalidArgumentException -
lds is null, ordus is null.| Method Detail |
public void validate()
throws MiningObjectException
MiningObjectException - when this mining function settings is invalid
public static RegressionFunctionSettings create(Connection dmsConn,
MiningAlgorithmSettings algorithm,
PhysicalDataSpecification pdsDataSpec,
java.lang.String sTargetAttrName,
DataPreparationStatus dpStatus)
throws java.sql.SQLException,
InvalidArgumentException,
MiningObjectException,
ODMException
RegressionFunctionSettings from the specified parameters.dmsConn - A connection to the data mining serveralgorithm - An instance of MiningAlgorithmSettingspdsDataSpec - An instance of PhysicalDataSpecification that specifies the input datasTargetAttrName - The name of the target attributedpStatus - An instance of DataPreparationStatus that indicates whether the data is discretized.RegressionFunctionSettings - A created instance of Regression function settingsInvalidArgumentException - thrown when
dmsConn is null,pdsDataSpec is null,sTargetAttrName is null,atTargetAttributeType is neither string nor integer.java.sql.SQLException - when an error occurs during access to the input data.MiningObjectException - inherited exception.ODMException
public void setErrorMetric(ErrorMetric errorMetric)
throws InvalidArgumentException
InvalidArgumentException - when errorMetric is null.ErrorMetricpublic ErrorMetric getErrorMetric()
public MiningAttribute getTargetAttribute()
throws MiningObjectException
MiningObjectException - when the target attributes are nissing.AttributeUsage
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||