Package org.dmg.pmml.naive_bayes
Class NaiveBayesModel
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Model
-
- org.dmg.pmml.naive_bayes.NaiveBayesModel
-
- All Implemented Interfaces:
java.io.Serializable,HasExtensions<NaiveBayesModel>,HasLocator,Visitable
public class NaiveBayesModel extends Model implements HasExtensions<NaiveBayesModel>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NaiveBayesModel()NaiveBayesModel(java.lang.Number threshold, MiningFunction miningFunction, MiningSchema miningSchema, BayesInputs bayesInputs, BayesOutput bayesOutput)
-
Method Summary
-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
-
-
-
Constructor Detail
-
NaiveBayesModel
public NaiveBayesModel()
-
NaiveBayesModel
public NaiveBayesModel(java.lang.Number threshold, MiningFunction miningFunction, MiningSchema miningSchema, BayesInputs bayesInputs, BayesOutput bayesOutput)
-
-
Method Detail
-
getModelName
public java.lang.String getModelName()
- Specified by:
getModelNamein classModel
-
setModelName
public NaiveBayesModel setModelName(java.lang.String modelName)
- Specified by:
setModelNamein classModel
-
requireThreshold
public java.lang.Number requireThreshold()
-
getThreshold
public java.lang.Number getThreshold()
-
setThreshold
public NaiveBayesModel setThreshold(java.lang.Number threshold)
-
requireMiningFunction
public MiningFunction requireMiningFunction()
- Specified by:
requireMiningFunctionin classModel
-
getMiningFunction
public MiningFunction getMiningFunction()
- Specified by:
getMiningFunctionin classModel
-
setMiningFunction
public NaiveBayesModel setMiningFunction(MiningFunction miningFunction)
- Specified by:
setMiningFunctionin classModel
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmNamein classModel
-
setAlgorithmName
public NaiveBayesModel setAlgorithmName(java.lang.String algorithmName)
- Specified by:
setAlgorithmNamein classModel
-
isScorable
public boolean isScorable()
- Specified by:
isScorablein classModel
-
setScorable
public NaiveBayesModel setScorable(java.lang.Boolean scorable)
- Specified by:
setScorablein classModel
-
getMathContext
public MathContext getMathContext()
- Specified by:
getMathContextin classModel
-
setMathContext
public NaiveBayesModel setMathContext(MathContext mathContext)
- Specified by:
setMathContextin classModel
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<NaiveBayesModel>
-
getExtensions
public java.util.List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<NaiveBayesModel>
-
addExtensions
public NaiveBayesModel addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<NaiveBayesModel>
-
requireMiningSchema
public MiningSchema requireMiningSchema()
- Specified by:
requireMiningSchemain classModel
-
getMiningSchema
public MiningSchema getMiningSchema()
- Specified by:
getMiningSchemain classModel
-
setMiningSchema
public NaiveBayesModel setMiningSchema(MiningSchema miningSchema)
- Specified by:
setMiningSchemain classModel
-
setOutput
public NaiveBayesModel setOutput(Output output)
-
getModelStats
public ModelStats getModelStats()
- Overrides:
getModelStatsin classModel
-
setModelStats
public NaiveBayesModel setModelStats(ModelStats modelStats)
- Overrides:
setModelStatsin classModel
-
getModelExplanation
public ModelExplanation getModelExplanation()
- Overrides:
getModelExplanationin classModel
-
setModelExplanation
public NaiveBayesModel setModelExplanation(ModelExplanation modelExplanation)
- Overrides:
setModelExplanationin classModel
-
getTargets
public Targets getTargets()
- Overrides:
getTargetsin classModel
-
setTargets
public NaiveBayesModel setTargets(Targets targets)
- Overrides:
setTargetsin classModel
-
getLocalTransformations
public LocalTransformations getLocalTransformations()
- Specified by:
getLocalTransformationsin classModel
-
setLocalTransformations
public NaiveBayesModel setLocalTransformations(LocalTransformations localTransformations)
- Specified by:
setLocalTransformationsin classModel
-
requireBayesInputs
public BayesInputs requireBayesInputs()
-
getBayesInputs
public BayesInputs getBayesInputs()
-
setBayesInputs
public NaiveBayesModel setBayesInputs(BayesInputs bayesInputs)
-
requireBayesOutput
public BayesOutput requireBayesOutput()
-
getBayesOutput
public BayesOutput getBayesOutput()
-
setBayesOutput
public NaiveBayesModel setBayesOutput(BayesOutput bayesOutput)
-
getModelVerification
public ModelVerification getModelVerification()
- Overrides:
getModelVerificationin classModel
-
setModelVerification
public NaiveBayesModel setModelVerification(ModelVerification modelVerification)
- Overrides:
setModelVerificationin classModel
-
accept
public VisitorAction accept(Visitor visitor)
-
-