All Downloads are FREE. Search and download functionalities are using the official Maven repository.

weka.core.pmml.jaxbbindings.SequenceModel Maven / Gradle / Ivy

Go to download

The Waikato Environment for Knowledge Analysis (WEKA), a machine learning workbench. This version represents the developer version, the "bleeding edge" of development, you could say. New functionality gets added to this version.

There is a newer version: 3.9.6
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2013.12.20 at 12:48:21 PM GMT 
//


package weka.core.pmml.jaxbbindings;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for SequenceModel element declaration. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <element name="SequenceModel">
 *   <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"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}MiningSchema"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}ModelStats" minOccurs="0"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}LocalTransformations" minOccurs="0"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}Constraints" minOccurs="0"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}Item" maxOccurs="unbounded" minOccurs="0"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}Itemset" maxOccurs="unbounded" minOccurs="0"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}SetPredicate" maxOccurs="unbounded" minOccurs="0"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}Sequence" maxOccurs="unbounded"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}SequenceRule" maxOccurs="unbounded" minOccurs="0"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
 *         </sequence>
 *         <attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *         <attribute name="avgNumberOfItemsPerTransaction" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
 *         <attribute name="avgNumberOfTAsPerTAGroup" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
 *         <attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_1}MINING-FUNCTION" />
 *         <attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *         <attribute name="maxNumberOfItemsPerTransaction" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
 *         <attribute name="maxNumberOfTAsPerTAGroup" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
 *         <attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *         <attribute name="numberOfTransactionGroups" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
 *         <attribute name="numberOfTransactions" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
 *       </restriction>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "SequenceModel") public class SequenceModel { @XmlElementRefs({ @XmlElementRef(name = "ModelStats", namespace = "http://www.dmg.org/PMML-4_1", type = ModelStats.class), @XmlElementRef(name = "SequenceRule", namespace = "http://www.dmg.org/PMML-4_1", type = SequenceRule.class), @XmlElementRef(name = "SetPredicate", namespace = "http://www.dmg.org/PMML-4_1", type = SetPredicate.class), @XmlElementRef(name = "LocalTransformations", namespace = "http://www.dmg.org/PMML-4_1", type = LocalTransformations.class), @XmlElementRef(name = "Sequence", namespace = "http://www.dmg.org/PMML-4_1", type = Sequence.class), @XmlElementRef(name = "Constraints", namespace = "http://www.dmg.org/PMML-4_1", type = Constraints.class), @XmlElementRef(name = "MiningSchema", namespace = "http://www.dmg.org/PMML-4_1", type = MiningSchema.class), @XmlElementRef(name = "Itemset", namespace = "http://www.dmg.org/PMML-4_1", type = Itemset.class), @XmlElementRef(name = "Extension", namespace = "http://www.dmg.org/PMML-4_1", type = Extension.class), @XmlElementRef(name = "Item", namespace = "http://www.dmg.org/PMML-4_1", type = Item.class) }) protected List content; @XmlAttribute protected String algorithmName; @XmlAttribute protected Double avgNumberOfItemsPerTransaction; @XmlAttribute protected Double avgNumberOfTAsPerTAGroup; @XmlAttribute(required = true) protected MININGFUNCTION functionName; @XmlAttribute protected Boolean isScorable; @XmlAttribute protected BigInteger maxNumberOfItemsPerTransaction; @XmlAttribute protected BigInteger maxNumberOfTAsPerTAGroup; @XmlAttribute protected String modelName; @XmlAttribute protected BigInteger numberOfTransactionGroups; @XmlAttribute protected BigInteger numberOfTransactions; /** * Gets the rest of the content model. * *

* You are getting this "catch-all" property because of the following reason: * The field name "Extension" is used by two different parts of a schema. See: * line 343 of file:/home/david/workspace/weka/pmml-4-1.xsd * line 333 of file:/home/david/workspace/weka/pmml-4-1.xsd *

* To get rid of this property, apply a property customization to one * of both of the following declarations to change their names: * Gets the value of the content 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 content property. * *

* For example, to add a new item, do as follows: *

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ModelStats } * {@link SequenceRule } * {@link SetPredicate } * {@link LocalTransformations } * {@link Constraints } * {@link Sequence } * {@link Itemset } * {@link MiningSchema } * {@link Item } * {@link Extension } * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * Gets the value of the algorithmName property. * * @return * possible object is * {@link String } * */ public String getAlgorithmName() { return algorithmName; } /** * Sets the value of the algorithmName property. * * @param value * allowed object is * {@link String } * */ public void setAlgorithmName(String value) { this.algorithmName = value; } /** * Gets the value of the avgNumberOfItemsPerTransaction property. * * @return * possible object is * {@link Double } * */ public Double getAvgNumberOfItemsPerTransaction() { return avgNumberOfItemsPerTransaction; } /** * Sets the value of the avgNumberOfItemsPerTransaction property. * * @param value * allowed object is * {@link Double } * */ public void setAvgNumberOfItemsPerTransaction(Double value) { this.avgNumberOfItemsPerTransaction = value; } /** * Gets the value of the avgNumberOfTAsPerTAGroup property. * * @return * possible object is * {@link Double } * */ public Double getAvgNumberOfTAsPerTAGroup() { return avgNumberOfTAsPerTAGroup; } /** * Sets the value of the avgNumberOfTAsPerTAGroup property. * * @param value * allowed object is * {@link Double } * */ public void setAvgNumberOfTAsPerTAGroup(Double value) { this.avgNumberOfTAsPerTAGroup = value; } /** * Gets the value of the functionName property. * * @return * possible object is * {@link MININGFUNCTION } * */ public MININGFUNCTION getFunctionName() { return functionName; } /** * Sets the value of the functionName property. * * @param value * allowed object is * {@link MININGFUNCTION } * */ public void setFunctionName(MININGFUNCTION value) { this.functionName = value; } /** * Gets the value of the isScorable property. * * @return * possible object is * {@link Boolean } * */ public boolean isIsScorable() { if (isScorable == null) { return true; } else { return isScorable; } } /** * Sets the value of the isScorable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsScorable(Boolean value) { this.isScorable = value; } /** * Gets the value of the maxNumberOfItemsPerTransaction property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getMaxNumberOfItemsPerTransaction() { return maxNumberOfItemsPerTransaction; } /** * Sets the value of the maxNumberOfItemsPerTransaction property. * * @param value * allowed object is * {@link BigInteger } * */ public void setMaxNumberOfItemsPerTransaction(BigInteger value) { this.maxNumberOfItemsPerTransaction = value; } /** * Gets the value of the maxNumberOfTAsPerTAGroup property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getMaxNumberOfTAsPerTAGroup() { return maxNumberOfTAsPerTAGroup; } /** * Sets the value of the maxNumberOfTAsPerTAGroup property. * * @param value * allowed object is * {@link BigInteger } * */ public void setMaxNumberOfTAsPerTAGroup(BigInteger value) { this.maxNumberOfTAsPerTAGroup = value; } /** * Gets the value of the modelName property. * * @return * possible object is * {@link String } * */ public String getModelName() { return modelName; } /** * Sets the value of the modelName property. * * @param value * allowed object is * {@link String } * */ public void setModelName(String value) { this.modelName = value; } /** * Gets the value of the numberOfTransactionGroups property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumberOfTransactionGroups() { return numberOfTransactionGroups; } /** * Sets the value of the numberOfTransactionGroups property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumberOfTransactionGroups(BigInteger value) { this.numberOfTransactionGroups = value; } /** * Gets the value of the numberOfTransactions property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumberOfTransactions() { return numberOfTransactions; } /** * Sets the value of the numberOfTransactions property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumberOfTransactions(BigInteger value) { this.numberOfTransactions = value; } }