Package weka.core.pmml.jaxbbindings
Class ComparisonMeasure
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.ComparisonMeasure
-
public class ComparisonMeasure extends java.lang.ObjectJava 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 Summary
Constructors Constructor Description ComparisonMeasure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinarySimilaritygetBinarySimilarity()Gets the value of the binarySimilarity property.ChebychevgetChebychev()Gets the value of the chebychev property.CityBlockgetCityBlock()Gets the value of the cityBlock property.COMPAREFUNCTIONgetCompareFunction()Gets the value of the compareFunction property.EuclideangetEuclidean()Gets the value of the euclidean property.java.util.List<Extension>getExtension()Gets the value of the extension property.JaccardgetJaccard()Gets the value of the jaccard property.java.lang.StringgetKind()Gets the value of the kind property.java.lang.DoublegetMaximum()Gets the value of the maximum property.java.lang.DoublegetMinimum()Gets the value of the minimum property.MinkowskigetMinkowski()Gets the value of the minkowski property.SimpleMatchinggetSimpleMatching()Gets the value of the simpleMatching property.SquaredEuclideangetSquaredEuclidean()Gets the value of the squaredEuclidean property.TanimotogetTanimoto()Gets the value of the tanimoto property.voidsetBinarySimilarity(BinarySimilarity value)Sets the value of the binarySimilarity property.voidsetChebychev(Chebychev value)Sets the value of the chebychev property.voidsetCityBlock(CityBlock value)Sets the value of the cityBlock property.voidsetCompareFunction(COMPAREFUNCTION value)Sets the value of the compareFunction property.voidsetEuclidean(Euclidean value)Sets the value of the euclidean property.voidsetJaccard(Jaccard value)Sets the value of the jaccard property.voidsetKind(java.lang.String value)Sets the value of the kind property.voidsetMaximum(java.lang.Double value)Sets the value of the maximum property.voidsetMinimum(java.lang.Double value)Sets the value of the minimum property.voidsetMinkowski(Minkowski value)Sets the value of the minkowski property.voidsetSimpleMatching(SimpleMatching value)Sets the value of the simpleMatching property.voidsetSquaredEuclidean(SquaredEuclidean value)Sets the value of the squaredEuclidean property.voidsetTanimoto(Tanimoto value)Sets the value of the tanimoto property.
-
-
-
Method Detail
-
getExtension
public java.util.List<Extension> 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
setmethod 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
-
getEuclidean
public Euclidean getEuclidean()
Gets the value of the euclidean property.- Returns:
- possible object is
Euclidean
-
setEuclidean
public void setEuclidean(Euclidean value)
Sets the value of the euclidean property.- Parameters:
value- allowed object isEuclidean
-
getSquaredEuclidean
public SquaredEuclidean getSquaredEuclidean()
Gets the value of the squaredEuclidean property.- Returns:
- possible object is
SquaredEuclidean
-
setSquaredEuclidean
public void setSquaredEuclidean(SquaredEuclidean value)
Sets the value of the squaredEuclidean property.- Parameters:
value- allowed object isSquaredEuclidean
-
getChebychev
public Chebychev getChebychev()
Gets the value of the chebychev property.- Returns:
- possible object is
Chebychev
-
setChebychev
public void setChebychev(Chebychev value)
Sets the value of the chebychev property.- Parameters:
value- allowed object isChebychev
-
getCityBlock
public CityBlock getCityBlock()
Gets the value of the cityBlock property.- Returns:
- possible object is
CityBlock
-
setCityBlock
public void setCityBlock(CityBlock value)
Sets the value of the cityBlock property.- Parameters:
value- allowed object isCityBlock
-
getMinkowski
public Minkowski getMinkowski()
Gets the value of the minkowski property.- Returns:
- possible object is
Minkowski
-
setMinkowski
public void setMinkowski(Minkowski value)
Sets the value of the minkowski property.- Parameters:
value- allowed object isMinkowski
-
getSimpleMatching
public SimpleMatching getSimpleMatching()
Gets the value of the simpleMatching property.- Returns:
- possible object is
SimpleMatching
-
setSimpleMatching
public void setSimpleMatching(SimpleMatching value)
Sets the value of the simpleMatching property.- Parameters:
value- allowed object isSimpleMatching
-
getJaccard
public Jaccard getJaccard()
Gets the value of the jaccard property.- Returns:
- possible object is
Jaccard
-
setJaccard
public void setJaccard(Jaccard value)
Sets the value of the jaccard property.- Parameters:
value- allowed object isJaccard
-
getTanimoto
public Tanimoto getTanimoto()
Gets the value of the tanimoto property.- Returns:
- possible object is
Tanimoto
-
setTanimoto
public void setTanimoto(Tanimoto value)
Sets the value of the tanimoto property.- Parameters:
value- allowed object isTanimoto
-
getBinarySimilarity
public BinarySimilarity getBinarySimilarity()
Gets the value of the binarySimilarity property.- Returns:
- possible object is
BinarySimilarity
-
setBinarySimilarity
public void setBinarySimilarity(BinarySimilarity value)
Sets the value of the binarySimilarity property.- Parameters:
value- allowed object isBinarySimilarity
-
getCompareFunction
public COMPAREFUNCTION getCompareFunction()
Gets the value of the compareFunction property.- Returns:
- possible object is
COMPAREFUNCTION
-
setCompareFunction
public void setCompareFunction(COMPAREFUNCTION value)
Sets the value of the compareFunction property.- Parameters:
value- allowed object isCOMPAREFUNCTION
-
getKind
public java.lang.String getKind()
Gets the value of the kind property.- Returns:
- possible object is
String
-
setKind
public void setKind(java.lang.String value)
Sets the value of the kind property.- Parameters:
value- allowed object isString
-
getMaximum
public java.lang.Double getMaximum()
Gets the value of the maximum property.- Returns:
- possible object is
Double
-
setMaximum
public void setMaximum(java.lang.Double value)
Sets the value of the maximum property.- Parameters:
value- allowed object isDouble
-
getMinimum
public java.lang.Double getMinimum()
Gets the value of the minimum property.- Returns:
- possible object is
Double
-
setMinimum
public void setMinimum(java.lang.Double value)
Sets the value of the minimum property.- Parameters:
value- allowed object isDouble
-
-