public class TextModelNormalization extends PMMLObject implements com.sun.xml.bind.Locatable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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"/>
</sequence>
<attribute name="localTermWeights" default="termFrequency">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="termFrequency"/>
<enumeration value="binary"/>
<enumeration value="logarithmic"/>
<enumeration value="augmentedNormalizedTermFrequency"/>
</restriction>
</simpleType>
</attribute>
<attribute name="globalTermWeights" default="inverseDocumentFrequency">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="inverseDocumentFrequency"/>
<enumeration value="none"/>
<enumeration value="GFIDF"/>
<enumeration value="normal"/>
<enumeration value="probabilisticInverse"/>
</restriction>
</simpleType>
</attribute>
<attribute name="documentNormalization" default="none">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="cosine"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
TextModelNormalization.DocumentNormalization
Java class for null.
|
static class |
TextModelNormalization.GlobalTermWeights
Java class for null.
|
static class |
TextModelNormalization.LocalTermWeights
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected TextModelNormalization.DocumentNormalization |
documentNormalization |
protected List<Extension> |
extensions |
protected TextModelNormalization.GlobalTermWeights |
globalTermWeights |
protected TextModelNormalization.LocalTermWeights |
localTermWeights |
protected Locator |
locator |
| Constructor and Description |
|---|
TextModelNormalization() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
TextModelNormalization.DocumentNormalization |
getDocumentNormalization()
Gets the value of the documentNormalization property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
TextModelNormalization.GlobalTermWeights |
getGlobalTermWeights()
Gets the value of the globalTermWeights property.
|
TextModelNormalization.LocalTermWeights |
getLocalTermWeights()
Gets the value of the localTermWeights property.
|
void |
setDocumentNormalization(TextModelNormalization.DocumentNormalization value)
Sets the value of the documentNormalization property.
|
void |
setGlobalTermWeights(TextModelNormalization.GlobalTermWeights value)
Sets the value of the globalTermWeights property.
|
void |
setLocalTermWeights(TextModelNormalization.LocalTermWeights value)
Sets the value of the localTermWeights property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
protected TextModelNormalization.LocalTermWeights localTermWeights
protected TextModelNormalization.GlobalTermWeights globalTermWeights
protected TextModelNormalization.DocumentNormalization documentNormalization
protected Locator locator
public List<Extension> getExtensions()
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 extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public TextModelNormalization.LocalTermWeights getLocalTermWeights()
TextModelNormalization.LocalTermWeightspublic void setLocalTermWeights(TextModelNormalization.LocalTermWeights value)
value - allowed object is
TextModelNormalization.LocalTermWeightspublic TextModelNormalization.GlobalTermWeights getGlobalTermWeights()
TextModelNormalization.GlobalTermWeightspublic void setGlobalTermWeights(TextModelNormalization.GlobalTermWeights value)
value - allowed object is
TextModelNormalization.GlobalTermWeightspublic TextModelNormalization.DocumentNormalization getDocumentNormalization()
TextModelNormalization.DocumentNormalizationpublic void setDocumentNormalization(TextModelNormalization.DocumentNormalization value)
value - allowed object is
TextModelNormalization.DocumentNormalizationpublic Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2013 University of Tartu. All Rights Reserved.