public class ComparisonMeasure
extends java.lang.Object
Java class for ComparisonMeasure element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="ComparisonMeasure">
<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"/>
<choice>
<element ref="{http://www.dmg.org/PMML-4_1}euclidean"/>
<element ref="{http://www.dmg.org/PMML-4_1}squaredEuclidean"/>
<element ref="{http://www.dmg.org/PMML-4_1}chebychev"/>
<element ref="{http://www.dmg.org/PMML-4_1}cityBlock"/>
<element ref="{http://www.dmg.org/PMML-4_1}minkowski"/>
<element ref="{http://www.dmg.org/PMML-4_1}simpleMatching"/>
<element ref="{http://www.dmg.org/PMML-4_1}jaccard"/>
<element ref="{http://www.dmg.org/PMML-4_1}tanimoto"/>
<element ref="{http://www.dmg.org/PMML-4_1}binarySimilarity"/>
</choice>
</sequence>
<attribute name="compareFunction" type="{http://www.dmg.org/PMML-4_1}COMPARE-FUNCTION" default="absDiff" />
<attribute name="kind" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="distance"/>
<enumeration value="similarity"/>
</restriction>
</simpleType>
</attribute>
<attribute name="maximum" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="minimum" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
</restriction>
</complexContent>
</complexType>
</element>
| Constructor and Description |
|---|
ComparisonMeasure() |
| Modifier and Type | Method and Description |
|---|---|
BinarySimilarity |
getBinarySimilarity()
Gets the value of the binarySimilarity property.
|
Chebychev |
getChebychev()
Gets the value of the chebychev property.
|
CityBlock |
getCityBlock()
Gets the value of the cityBlock property.
|
COMPAREFUNCTION |
getCompareFunction()
Gets the value of the compareFunction property.
|
Euclidean |
getEuclidean()
Gets the value of the euclidean property.
|
java.util.List<Extension> |
getExtension()
Gets the value of the extension property.
|
Jaccard |
getJaccard()
Gets the value of the jaccard property.
|
java.lang.String |
getKind()
Gets the value of the kind property.
|
java.lang.Double |
getMaximum()
Gets the value of the maximum property.
|
java.lang.Double |
getMinimum()
Gets the value of the minimum property.
|
Minkowski |
getMinkowski()
Gets the value of the minkowski property.
|
SimpleMatching |
getSimpleMatching()
Gets the value of the simpleMatching property.
|
SquaredEuclidean |
getSquaredEuclidean()
Gets the value of the squaredEuclidean property.
|
Tanimoto |
getTanimoto()
Gets the value of the tanimoto property.
|
void |
setBinarySimilarity(BinarySimilarity value)
Sets the value of the binarySimilarity property.
|
void |
setChebychev(Chebychev value)
Sets the value of the chebychev property.
|
void |
setCityBlock(CityBlock value)
Sets the value of the cityBlock property.
|
void |
setCompareFunction(COMPAREFUNCTION value)
Sets the value of the compareFunction property.
|
void |
setEuclidean(Euclidean value)
Sets the value of the euclidean property.
|
void |
setJaccard(Jaccard value)
Sets the value of the jaccard property.
|
void |
setKind(java.lang.String value)
Sets the value of the kind property.
|
void |
setMaximum(java.lang.Double value)
Sets the value of the maximum property.
|
void |
setMinimum(java.lang.Double value)
Sets the value of the minimum property.
|
void |
setMinkowski(Minkowski value)
Sets the value of the minkowski property.
|
void |
setSimpleMatching(SimpleMatching value)
Sets the value of the simpleMatching property.
|
void |
setSquaredEuclidean(SquaredEuclidean value)
Sets the value of the squaredEuclidean property.
|
void |
setTanimoto(Tanimoto value)
Sets the value of the tanimoto property.
|
public java.util.List<Extension> getExtension()
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
public Euclidean getEuclidean()
Euclideanpublic void setEuclidean(Euclidean value)
value - allowed object is
Euclideanpublic SquaredEuclidean getSquaredEuclidean()
SquaredEuclideanpublic void setSquaredEuclidean(SquaredEuclidean value)
value - allowed object is
SquaredEuclideanpublic Chebychev getChebychev()
Chebychevpublic void setChebychev(Chebychev value)
value - allowed object is
Chebychevpublic CityBlock getCityBlock()
CityBlockpublic void setCityBlock(CityBlock value)
value - allowed object is
CityBlockpublic Minkowski getMinkowski()
Minkowskipublic void setMinkowski(Minkowski value)
value - allowed object is
Minkowskipublic SimpleMatching getSimpleMatching()
SimpleMatchingpublic void setSimpleMatching(SimpleMatching value)
value - allowed object is
SimpleMatchingpublic Jaccard getJaccard()
Jaccardpublic void setJaccard(Jaccard value)
value - allowed object is
Jaccardpublic Tanimoto getTanimoto()
Tanimotopublic void setTanimoto(Tanimoto value)
value - allowed object is
Tanimotopublic BinarySimilarity getBinarySimilarity()
BinarySimilaritypublic void setBinarySimilarity(BinarySimilarity value)
value - allowed object is
BinarySimilaritypublic COMPAREFUNCTION getCompareFunction()
COMPAREFUNCTIONpublic void setCompareFunction(COMPAREFUNCTION value)
value - allowed object is
COMPAREFUNCTIONpublic java.lang.String getKind()
Stringpublic void setKind(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Double getMaximum()
Doublepublic void setMaximum(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Double getMinimum()
Doublepublic void setMinimum(java.lang.Double value)
value - allowed object is
Double