|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A ClassificationSettings instance
supports function settings specific to the
classification mining function.
MiningObject,
BuildSettings,
SupervisedSettings| Method Summary | |
java.lang.String |
getCostMatrixName()
Returns the name of the cost matrix or null if the default cost matrix is to be used. |
java.util.Map |
getPriorProbabilitiesMap(java.lang.String attributeName)
Returns the map of prior probabilities assigned by the user for the specified attribute. |
boolean |
getUsePriors()
Returns true if priors are to be used for the target attribute, false otherwise. |
void |
setCostMatrixName(java.lang.String costMatrixName)
Sets the name of a cost matrix that measures the cost of predictions. |
void |
setPriorProbabilitiesMap(java.lang.String attributeName,
java.util.Map priorsMap)
Sets the map of prior probabilties between attribute values and their prior probabilities. |
void |
usePriors(boolean usePriors)
Control the use of priors for the target attribute. |
| Methods inherited from interface javax.datamining.supervised.SupervisedSettings |
getTargetAttributeName, setTargetAttributeName |
| Methods inherited from interface javax.datamining.base.BuildSettings |
getAlgorithmSettings, getDesiredExecutionTimeInMinutes, getLogicalAttributes, getLogicalData, getLogicalDataName, getMiningFunction, getOutlierIdentification, getOutlierTreatment, getUsage, getWeight, getWeightAttribute, setAlgorithmSettings, setDesiredExecutionTimeInMinutes, setLogicalDataName, setOutlierIdentification, setOutlierTreatment, setUsage, setWeight, setWeightAttribute, verify |
| Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription |
| Method Detail |
public java.lang.String getCostMatrixName()
public java.util.Map getPriorProbabilitiesMap(java.lang.String attributeName)
throws JDMException
attributeName - The name of the attribute whose prior probabilities map is to be returned.
JDMExceptionpublic boolean getUsePriors()
public void setCostMatrixName(java.lang.String costMatrixName)
throws JDMException
If a cost matrix is provded and supportsCapability for costMatrix returns true, it will be used for model build.
costMatrixName - The name of a CostMatrix object to be associated with classification settings.
JDMException
public void setPriorProbabilitiesMap(java.lang.String attributeName,
java.util.Map priorsMap)
throws JDMException
An exception is thrown if attributeName is not found.
An exception is thrown if any object type in it is invalid in the map.
attributeName - The name of the attribute whose prior probabilities are to be set.priorsMap - A map between attribute values and their prior probabilities.
JDMExceptionpublic void usePriors(boolean usePriors)
usePriors -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||