Skip navigation links

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

B28132-01


oracle.dmt.jdm.algorithm.kmeans
Class OraKMeansSettings

java.lang.Object
  extended byoracle.dmt.jdm.OraDMObject
      extended byoracle.dmt.jdm.base.OraAlgorithmSettings
          extended byoracle.dmt.jdm.clustering.OraClusteringAlgorithmSettings
              extended byoracle.dmt.jdm.algorithm.kmeans.OraKMeansSettings

All Implemented Interfaces:
javax.datamining.base.AlgorithmSettings, javax.datamining.clustering.ClusteringAlgorithmSettings, javax.datamining.algorithm.kmeans.KMeansSettings, oracle.dmt.jdm.OraPLSQLConstants

public class OraKMeansSettings
extends oracle.dmt.jdm.clustering.OraClusteringAlgorithmSettings
implements javax.datamining.algorithm.kmeans.KMeansSettings

OraKMeansSettings is an extension of javax.datamining.algorithm.kmeans.KMeansSettings. It defines set and get of split criterion that can be specified for kMeans algorithm.


Method Summary
 int getBlockGrowth()
          Returns the growth factor for memory allocated to hold cluster data.
 double getMinPercentageAtrrSupport()
          Returns the minimum percentage support required for attributes in rules.
 int getNumberOfBins()
          Returns the number of histogram bins.
 OraSplitCriterion getSplitCriterion()
          Returns the Split criterion for k-Means Clustering
 void setBlockGrowth(int blockGrowth)
          Sets the growth factor for memory allocated to hold cluster data.
 void setMinPercentageAtrrSupport(double minPercentageAtrrSupport)
          Sets the minimum percentage support required for attributes in rules.
 void setNumberOfBins(int numberOfBins)
          Sets the number of histogram bins.
 void setSplitCriterion(OraSplitCriterion splitCriterion)
          Sets the Split criterion for k-Means Clustering.

 

Methods inherited from class oracle.dmt.jdm.base.OraAlgorithmSettings
getMiningAlgorithm, verify

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface javax.datamining.base.AlgorithmSettings
getMiningAlgorithm, verify

 

Method Detail

setSplitCriterion

public void setSplitCriterion(OraSplitCriterion splitCriterion)
Sets the Split criterion for k-Means Clustering. Default is kMeans variance.
Returns:
void

getSplitCriterion

public OraSplitCriterion getSplitCriterion()
                                    throws javax.datamining.JDMException
Returns the Split criterion for k-Means Clustering
Returns:
OraSplitCriterion
Throws:
javax.datamining.JDMException

setNumberOfBins

public void setNumberOfBins(int numberOfBins)
Sets the number of histogram bins. Specifies the number of bins in the attribute histogram produced by k-Means. Default value is 10.
Returns:
void

getNumberOfBins

public int getNumberOfBins()
Returns the number of histogram bins. Specifies the number of bins in the attribute histogram produced by k-Means.
Returns:
int

setBlockGrowth

public void setBlockGrowth(int blockGrowth)
Sets the growth factor for memory allocated to hold cluster data. Valid range > 1 and <= 5. Default value is 2.
Returns:
void

getBlockGrowth

public int getBlockGrowth()
Returns the growth factor for memory allocated to hold cluster data.
Returns:
int

setMinPercentageAtrrSupport

public void setMinPercentageAtrrSupport(double minPercentageAtrrSupport)
Sets the minimum percentage support required for attributes in rules. Specifies the minimum percentage of values for an attribute in a given cluster required to include this attribute in the rule description of the cluster. Default value is 0.1
Returns:
void

getMinPercentageAtrrSupport

public double getMinPercentageAtrrSupport()
Returns the minimum percentage support required for attributes in rules.
Returns:
double

Skip navigation links

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

B28132-01


Copyright © 2005-2007 Oracle. All rights reserved.