|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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.ClusteringFunctionSettings
An instance of ClusteringFunctionSettings
holds metadata for required
settings common to all clustering algorithms.
ClusteringAlgorithmSettings
,
KMeansAlgorithmSettings
,
OClusterAlgorithmSettings
, Serialized FormConstructor Summary |
ClusteringFunctionSettings(int numberOfClusters,
LogicalDataSpecification lds,
DataUsageSpecification dus)
Creates a ClusteringFunctionSettings object using the default
clustering MiningAlgorithmSettings . |
ClusteringFunctionSettings(int numberOfClusters,
LogicalDataSpecification lds,
DataUsageSpecification dus,
ClusteringAlgorithmSettings algorithm)
Creates a ClusteringFunctionSettings object using the
clustering MiningAlgorithmSettings specified by mas . |
Method Summary |
Type | Method |
---|---|
static ClusteringFunctionSettings |
create(Connection dmsConn,
MiningAlgorithmSettings algorithm,
PhysicalDataSpecification pds,
DataPreparationStatus dpStatus,
int numberOfClusters,
java.lang.String[] categoricalMiningAttributes,
java.lang.String[] numericMiningAttributes,
java.lang.String[] intMiningAttributes)
This method is a utility function allowing user to create and populate ClusteringFunctionSettings in one step. |
MiningAttribute[] |
getActiveAttributes()
Returns the list of active attributes in this MFS. |
int |
getMaxNumberOfClusters()
Returns the maximum number of clusters a model built with this MFS can have. |
MiningAttribute[] |
getUnpreparedActiveAttributes()
Returns the list of unbinned active attributes in this MFS. |
MiningAttribute[] |
getUnpreparedActiveNumericAttributes()
Returns the list of unbinned active attributes in this MFS. |
void |
setMaxNumberOfClusters(int maxNum)
Sets maximum number of clusters a model built with this MFS can have. |
void |
validate()
Validates the correctness of this function settings. |
Methods inherited from class oracle.dmt.odm.settings.function.MiningFunctionSettings | ||||||||||||||||||||
activateAll, adjustAttributeUsage, adjustAttributeUsage, adjustDataPreparationStatus, getDataUsageSpecification, getLogicalDataSpecification, getMiningAlgorithmName, getMiningAlgorithmSettings, getMiningFunction, getName, getSupplementalAttributes, getValidateBeforeStore, listContents, listContents, listContents, listContents, remove, restore, restore, setDataUsageSpecification, setMiningAlgorithmName, setMiningAlgorithmSettings, setMiningFunction, setValidateBeforeStore,
MiningAlgorithmSettings object that
specifies the algorithm to be used for model building.
If null, a default algorithm is chosen by the DMS. - is thrown - when numberOfClusters > 1,000,000 or numberOfClusters < 1 ClusteringFunctionSettingspublic ClusteringFunctionSettings(int numberOfClusters, LogicalDataSpecification lds, DataUsageSpecification dus) throws InvalidArgumentException
getMaxNumberOfClusterspublic int getMaxNumberOfClusters()
setMaxNumberOfClusterspublic void setMaxNumberOfClusters(int maxNum) throws InvalidArgumentException
getUnpreparedActiveAttributespublic MiningAttribute[] getUnpreparedActiveAttributes()
getUnpreparedActiveNumericAttributespublic MiningAttribute[] getUnpreparedActiveNumericAttributes()
getActiveAttributespublic MiningAttribute[] getActiveAttributes()
createpublic static ClusteringFunctionSettings create(Connection dmsConn, MiningAlgorithmSettings algorithm, PhysicalDataSpecification pds, DataPreparationStatus dpStatus, int numberOfClusters, java.lang.String[] categoricalMiningAttributes, java.lang.String[] numericMiningAttributes, java.lang.String[] intMiningAttributes) throws java.sql.SQLException, InvalidArgumentException, MiningObjectException, ODMException
validatepublic void validate() throws MiningObjectException
|