Class SimpleRule
Java class for SimpleRule element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="SimpleRule"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/> <group ref="{http://www.dmg.org/PMML-4_1}PREDICATE"/> <element ref="{http://www.dmg.org/PMML-4_1}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="confidence" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> <attribute name="recordCount" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> <attribute name="score" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="weight" type="{http://www.dmg.org/PMML-4_1}NUMBER" /> </restriction> </complexContent> </complexType> </element>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the compoundPredicate property.Gets the value of the confidence property.Gets the value of the extension property.getFalse()
Gets the value of the false property.getId()
Gets the value of the id property.Gets the value of the nbCorrect property.Gets the value of the recordCount property.getScore()
Gets the value of the score property.Gets the value of the scoreDistribution property.Gets the value of the simplePredicate property.Gets the value of the simpleSetPredicate property.getTrue()
Gets the value of the true property.Gets the value of the weight property.void
Sets the value of the compoundPredicate property.void
setConfidence
(Double value) Sets the value of the confidence property.void
Sets the value of the false property.void
Sets the value of the id property.void
setNbCorrect
(Double value) Sets the value of the nbCorrect property.void
setRecordCount
(Double value) Sets the value of the recordCount property.void
Sets the value of the score property.void
Sets the value of the simplePredicate property.void
Sets the value of the simpleSetPredicate property.void
Sets the value of the true property.void
Sets the value of the weight property.
-
Constructor Details
-
SimpleRule
public SimpleRule()
-
-
Method Details
-
getExtension
Gets the value of the extension property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the extension property.For example, to add a new item, do as follows:
getExtension().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
-
getSimplePredicate
Gets the value of the simplePredicate property.- Returns:
- possible object is
SimplePredicate
-
setSimplePredicate
Sets the value of the simplePredicate property.- Parameters:
value
- allowed object isSimplePredicate
-
getCompoundPredicate
Gets the value of the compoundPredicate property.- Returns:
- possible object is
CompoundPredicate
-
setCompoundPredicate
Sets the value of the compoundPredicate property.- Parameters:
value
- allowed object isCompoundPredicate
-
getSimpleSetPredicate
Gets the value of the simpleSetPredicate property.- Returns:
- possible object is
SimpleSetPredicate
-
setSimpleSetPredicate
Sets the value of the simpleSetPredicate property.- Parameters:
value
- allowed object isSimpleSetPredicate
-
getTrue
Gets the value of the true property.- Returns:
- possible object is
True
-
setTrue
Sets the value of the true property.- Parameters:
value
- allowed object isTrue
-
getFalse
Gets the value of the false property.- Returns:
- possible object is
False
-
setFalse
Sets the value of the false property.- Parameters:
value
- allowed object isFalse
-
getScoreDistribution
Gets the value of the scoreDistribution property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the scoreDistribution property.For example, to add a new item, do as follows:
getScoreDistribution().add(newItem);
Objects of the following type(s) are allowed in the list
ScoreDistribution
-
getConfidence
Gets the value of the confidence property.- Returns:
- possible object is
Double
-
setConfidence
Sets the value of the confidence property.- Parameters:
value
- allowed object isDouble
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getNbCorrect
Gets the value of the nbCorrect property.- Returns:
- possible object is
Double
-
setNbCorrect
Sets the value of the nbCorrect property.- Parameters:
value
- allowed object isDouble
-
getRecordCount
Gets the value of the recordCount property.- Returns:
- possible object is
Double
-
setRecordCount
Sets the value of the recordCount property.- Parameters:
value
- allowed object isDouble
-
getScore
Gets the value of the score property.- Returns:
- possible object is
String
-
setScore
Sets the value of the score property.- Parameters:
value
- allowed object isString
-
getWeight
Gets the value of the weight property.- Returns:
- possible object is
Double
-
setWeight
Sets the value of the weight property.- Parameters:
value
- allowed object isDouble
-