Skip navigation links

Oracle Data Mining Java API Reference
11g Release 1 (11.1)

B28132-01


oracle.dmt.jdm.transform
Interface OraTransformationFactory


public interface OraTransformationFactory

OraTransformationFactory is the factory object used for creating transformation objects and transformation sequence object. To instantiate this factory call Connection.getFactory("oracle.dmt.jdm.transform.OraTransformation").

Since:
OJDM 11.1.0

Method Summary
 OraBinningTransform createBinningTransform()
          Creates a binning transform object with the system default number of categorical and numerical bins and binning type.
 OraBinningTransform createBinningTransform(java.lang.Integer numberOfNumericalBins, java.lang.Integer numberOfCategoricalBins, OraCategoricalBinningType catBinType, OraNumericalBinningType numBinType)
          Creates a binning transform, that uses the user specified binning types and number of bins.
 OraBinningTransform createBinningTransform(OraAttributeBins[] customBins)
          Creates a binning transform that uses the user specified custom bins for doing binning.
 OraBinningTransform createBinningTransform(java.lang.String inputCategoricalBinTable, java.lang.String inputNumericalBinTable)
          Creates a binning transform that uses the user specified bin boundary tables as input.
 OraBinningTransform createBinningTransform(java.lang.String inputCategoricalBinTable, java.lang.String inputNumericalBinTable, OraAttributeBins[] customBins)
          Creates a binning transform that uses the user specified custom bins for doing binning and existing bin boundary tables
 OraClippingTransform createClippingTransform()
          Creates a clipping transform with default clipping type
 OraClippingTransform createClippingTransform(OraClippingType clippingType, double tailFraction)
          Creates a clipping transform with the specified clipping type and tail fraction value..
 OraClippingTransform createClippingTransform(java.lang.String inputClippingTable)
          Creates a clipping transform with the specified clipping table..
 OraExpressionTransform createExpressionTransform()
          Creates an empty OraExpressionTransform object.
 OraExpressionTransform createExpressionTransform(java.lang.String expressionsTable)
          Creates an OraExpressionTransform object using the specified fixed schema expression table as an input.
 OraNormalizeTransform createNormalizeTransform()
          Creates a normalization transform with the system default normalization type.
 OraNormalizeTransform createNormalizeTransform(OraNormalizeType normalizeType, java.lang.Integer roundingNumber)
          Creates a normalization transform that uses the specified normalization type and rounding number.
 OraNormalizeTransform createNormalizeTransform(java.lang.String inputNormalizationDefinitionTable)
          Creates a normalzation transform that uses specified normalization definitions as input for performining normalization.
 OraTransformationSequence createTransformationSequence(java.lang.String inputDataURI, java.util.List listOfTransforms, java.lang.String outputDataURI)
          Creates the transormation sequence object, where user can specify the sequence of transformation operations that are to be performed.
 OraTransformationSequence createTransformationSequence(java.lang.String inputDataURI, OraExpressionTransform expressionTransform, java.lang.String outputDataURI)
          Creates the transformation sequence object using sql expressions that are already stacked per attribute basis using OraExpressionTransform object.

 

Method Detail

createTransformationSequence

public OraTransformationSequence createTransformationSequence(java.lang.String inputDataURI,
                                                              java.util.List listOfTransforms,
                                                              java.lang.String outputDataURI)
                                                       throws javax.datamining.JDMException
Creates the transormation sequence object, where user can specify the sequence of transformation operations that are to be performed. For example, to perform outlier treatment using clipping transform first and then normalize transform to bring the input data to the same scale, instead of doing them as a separate tasks, one can combine them into single transformation sequence (new named object in 11.1) and perform a single task that can accomplish the desired functionality.

In addition to OJDM defined tranformations, one can combine the expression transformations using OraExpressionTransform.

Note that text transformation cannot be combined in the sequence and it must be executed as a stand-alone transformation.

Parameters:
inputDataURI - input data used for the transformation
listOfTransforms - list of transformations
outputDataURI - ouput data URI
Returns:
Throws:
javax.datamining.JDMException

createTransformationSequence

public OraTransformationSequence createTransformationSequence(java.lang.String inputDataURI,
                                                              OraExpressionTransform expressionTransform,
                                                              java.lang.String outputDataURI)
                                                       throws javax.datamining.JDMException
Creates the transformation sequence object using sql expressions that are already stacked per attribute basis using OraExpressionTransform object.
Parameters:
inputDataURI - input data used for the transformation
expressionTransform - expression transformation object
outputDataURI - output data used for transformation
Returns:
Throws:
javax.datamining.JDMException

createExpressionTransform

public OraExpressionTransform createExpressionTransform()
                                                 throws javax.datamining.JDMException
Creates an empty OraExpressionTransform object. User can add per attribute sql expressions using OraExpressionTransform.addAttributeExpression method.
Returns:
Throws:
javax.datamining.JDMException
See Also:
OraExpressionTransform

createExpressionTransform

public OraExpressionTransform createExpressionTransform(java.lang.String expressionsTable)
                                                 throws javax.datamining.JDMException
Creates an OraExpressionTransform object using the specified fixed schema expression table as an input.
Parameters:
expressionsTable -
Returns:
Throws:
javax.datamining.JDMException
See Also:
OraExpressionTransform

createBinningTransform

public OraBinningTransform createBinningTransform()
                                           throws javax.datamining.JDMException
Creates a binning transform object with the system default number of categorical and numerical bins and binning type.
Returns:
BinningTransform BinningTransform object
Throws:
javax.datamining.JDMException - if BinningTransform can not be created

createBinningTransform

public OraBinningTransform createBinningTransform(java.lang.String inputCategoricalBinTable,
                                                  java.lang.String inputNumericalBinTable)
                                           throws javax.datamining.JDMException
Creates a binning transform that uses the user specified bin boundary tables as input.
Parameters:
inputCategoricalBinTable - categorical bin boundary table
inputNumericalBinTable - numerical bin boundary table
Returns:
BinningTransform BinningTransform object
Throws:
javax.datamining.JDMException

createBinningTransform

public OraBinningTransform createBinningTransform(OraAttributeBins[] customBins)
                                           throws javax.datamining.JDMException
Creates a binning transform that uses the user specified custom bins for doing binning.
Parameters:
customBins - an array of custom bins
Returns:
BinningTransform BinningTransform object
Throws:
javax.datamining.JDMException - if BinningTransform can not be created

createBinningTransform

public OraBinningTransform createBinningTransform(java.lang.String inputCategoricalBinTable,
                                                  java.lang.String inputNumericalBinTable,
                                                  OraAttributeBins[] customBins)
                                           throws javax.datamining.JDMException
Creates a binning transform that uses the user specified custom bins for doing binning and existing bin boundary tables
Parameters:
inputCategoricalBinTable - categorical bin boundary table
inputNumericalBinTable - numerical bin boundary table
customBins - an array of custom bins
Returns:
BinningTransform BinningTransform object
Throws:
javax.datamining.JDMException - if BinningTransform can not be created

createBinningTransform

public OraBinningTransform createBinningTransform(java.lang.Integer numberOfNumericalBins,
                                                  java.lang.Integer numberOfCategoricalBins,
                                                  OraCategoricalBinningType catBinType,
                                                  OraNumericalBinningType numBinType)
                                           throws javax.datamining.JDMException
Creates a binning transform, that uses the user specified binning types and number of bins. If user wants to use system defaults, they can specify null values for the arguments.
Parameters:
numberOfNumericalBins - number of numerical bins to be used for numerical attributes
numberOfCategoricalBins - number of categorical bins to be used for categorical attributes
catBinType - categorical attribute binning type
numBinType - numerical attribute binning type
Returns:
BinningTransform BinningTransform object
Throws:
javax.datamining.JDMException - if BinningTransform can not be created

createNormalizeTransform

public OraNormalizeTransform createNormalizeTransform()
                                               throws javax.datamining.JDMException
Creates a normalization transform with the system default normalization type.
Returns:
OraNormalizeTransform OraNormalizeTransform object
Throws:
javax.datamining.JDMException - if OraNormalizeTransform can not be created

createNormalizeTransform

public OraNormalizeTransform createNormalizeTransform(java.lang.String inputNormalizationDefinitionTable)
                                               throws javax.datamining.JDMException
Creates a normalzation transform that uses specified normalization definitions as input for performining normalization.
Parameters:
inputNormalizationDefinitionTable -
Returns:
OraNormalizeTransform OraNormalizeTransform object
Throws:
javax.datamining.JDMException - if OraNormalizeTransform can not be created

createNormalizeTransform

public OraNormalizeTransform createNormalizeTransform(OraNormalizeType normalizeType,
                                                      java.lang.Integer roundingNumber)
                                               throws javax.datamining.JDMException
Creates a normalization transform that uses the specified normalization type and rounding number.
Parameters:
normalizeType - type of normalization
roundingNumber - values rounding number to be used
Returns:
OraNormalizeTransform OraNormalizeTransform object
Throws:
javax.datamining.JDMException - if OraNormalizeTransform can not be created

createClippingTransform

public OraClippingTransform createClippingTransform()
                                             throws javax.datamining.JDMException
Creates a clipping transform with default clipping type
Returns:
OraClippingTransform instance of the clipping transformation object
Throws:
javax.datamining.JDMException - if instance of the clipping transformation object can not be created

createClippingTransform

public OraClippingTransform createClippingTransform(java.lang.String inputClippingTable)
                                             throws javax.datamining.JDMException
Creates a clipping transform with the specified clipping table..
Parameters:
inputClippingTable - name of the clipping table
Returns:
OraClippingTransform instance of the clipping transformation object
Throws:
javax.datamining.JDMException - if instance of the clipping transformation object can not be created

createClippingTransform

public OraClippingTransform createClippingTransform(OraClippingType clippingType,
                                                    double tailFraction)
                                             throws javax.datamining.JDMException
Creates a clipping transform with the specified clipping type and tail fraction value..
Parameters:
clippingType - type of clipping to be used
tailFraction - tail fraction
Returns:
OraClippingTransform instance of the clipping transformation object
Throws:
javax.datamining.JDMException - if instance of the clipping transformation object can not be created

Skip navigation links

Oracle Data Mining Java API Reference
11g Release 1 (11.1)

B28132-01


Copyright © 2005-2007 Oracle. All rights reserved.