public class TextModelNormalization extends PMMLObject implements HasExtensions
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_2}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.
|
| Constructor and Description |
|---|
TextModelNormalization() |
getLocator, setLocatorpublic TextModelNormalization.LocalTermWeights getLocalTermWeights()
TextModelNormalization.LocalTermWeightspublic TextModelNormalization setLocalTermWeights(TextModelNormalization.LocalTermWeights localTermWeights)
localTermWeights - allowed object is
TextModelNormalization.LocalTermWeightspublic TextModelNormalization.GlobalTermWeights getGlobalTermWeights()
TextModelNormalization.GlobalTermWeightspublic TextModelNormalization setGlobalTermWeights(TextModelNormalization.GlobalTermWeights globalTermWeights)
globalTermWeights - allowed object is
TextModelNormalization.GlobalTermWeightspublic TextModelNormalization.DocumentNormalization getDocumentNormalization()
TextModelNormalization.DocumentNormalizationpublic TextModelNormalization setDocumentNormalization(TextModelNormalization.DocumentNormalization documentNormalization)
documentNormalization - allowed object is
TextModelNormalization.DocumentNormalizationpublic 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
getExtensions in interface HasExtensionspublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic TextModelNormalization addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.