Java Reference
In-Depth Information
algorithms since it is a named object. In this example, we named the
cost matrix attrition_cost_matrix and set it as input to the model build
using the ClassificationSettings.setCostMatrixName method.
Table 9-10 javax.datamining.supervised.classification.ClassificationSettings
interfaces
supervised.classification.ClassificationSettings extends supervised.SupervisedSettings
Methods
Description
set/getPriorProbabilitiesMap(attrName,
priorsMap)
Used to set/get the map of prior probabilities between
attribute values and their prior probabilities per
attribute.
usePriors(boolean usePriors)
Control the use of priors for the target attribute.
set/getCostMatrixName(costMatrixName)
Used to set/get the name of a cost matrix that measures
the cost of incorrect predictions.
supervised.SupervisedSettings extends base.BuildSettings
Methods
Description
set/getTargetAttributeName(attributeName)
Used to set/get the target attribute by its name to be
used for supervised learning.
Base.BuildSettings extends MiningObject
Methods
Description
set/getLogicalDataName
(java.lang.String name)
Used to set/get the logical data to reference a named
LogicalData object.
set/getOutlierIdentification(logicalAttr-
Name, Interval bounds)
Used to set/get the range of non-outliers values.
set/getOutlierTreatment
(java.lang.String logicalAttrName,
OutlierTreatment treatment)
Used to set/get the outlier treatment for numerical
attributes.
set/getUsage(java.lang.String logicalAttr-
Name, LogicalAttributeUsage usage)
Used to set/get the use of the specified logical attribute.
set/getAlgorithmSettings
(AlgorithmSettings)
Used to set/get the algorithm settings to be associated
with the build settings.
set/getDesiredExecutionTimeInMinutes
(int minutes)
Used to set/get the desired execution time specified by
the user, if any.
set/getWeight
(java.lang.String logicalAttrName,
double weight)
Used to set/get the weight of the specified logical
attribute by name.
Search WWH ::




Custom Search