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

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

Go to download

The Waikato Environment for Knowledge Analysis (WEKA), a machine learning workbench. This is the stable version. Apart from bugfixes, this version does not receive any other updates.

There is a newer version: 3.8.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.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.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for RuleSet element declaration. * *

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

 * <element name="RuleSet">
 *   <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}RuleSelectionMethod" maxOccurs="unbounded"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
 *           <group ref="{http://www.dmg.org/PMML-4_1}Rule" maxOccurs="unbounded" minOccurs="0"/>
 *         </sequence>
 *         <attribute name="defaultConfidence" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
 *         <attribute name="defaultScore" type="{http://www.w3.org/2001/XMLSchema}string" />
 *         <attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
 *         <attribute name="recordCount" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
 *       </restriction>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "extension", "ruleSelectionMethod", "scoreDistribution", "rule" }) @XmlRootElement(name = "RuleSet") public class RuleSet { @XmlElement(name = "Extension", namespace = "http://www.dmg.org/PMML-4_1", required = true) protected List extension; @XmlElement(name = "RuleSelectionMethod", namespace = "http://www.dmg.org/PMML-4_1", required = true) protected List ruleSelectionMethod; @XmlElement(name = "ScoreDistribution", namespace = "http://www.dmg.org/PMML-4_1", required = true) protected List scoreDistribution; @XmlElements({ @XmlElement(name = "SimpleRule", namespace = "http://www.dmg.org/PMML-4_1", required = true, type = SimpleRule.class), @XmlElement(name = "CompoundRule", namespace = "http://www.dmg.org/PMML-4_1", required = true, type = CompoundRule.class) }) protected List rule; @XmlAttribute protected Double defaultConfidence; @XmlAttribute protected String defaultScore; @XmlAttribute protected Double nbCorrect; @XmlAttribute protected Double recordCount; /** * 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 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 * {@link Extension } * * */ public List getExtension() { if (extension == null) { extension = new ArrayList(); } return this.extension; } /** * Gets the value of the ruleSelectionMethod 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 ruleSelectionMethod property. * *

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

     *    getRuleSelectionMethod().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link RuleSelectionMethod } * * */ public List getRuleSelectionMethod() { if (ruleSelectionMethod == null) { ruleSelectionMethod = new ArrayList(); } return this.ruleSelectionMethod; } /** * Gets the value of the scoreDistribution 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 scoreDistribution property. * *

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

     *    getScoreDistribution().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ScoreDistribution } * * */ public List getScoreDistribution() { if (scoreDistribution == null) { scoreDistribution = new ArrayList(); } return this.scoreDistribution; } /** * Gets the value of the rule 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 rule property. * *

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

     *    getRule().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SimpleRule } * {@link CompoundRule } * * */ public List getRule() { if (rule == null) { rule = new ArrayList(); } return this.rule; } /** * Gets the value of the defaultConfidence property. * * @return * possible object is * {@link Double } * */ public Double getDefaultConfidence() { return defaultConfidence; } /** * Sets the value of the defaultConfidence property. * * @param value * allowed object is * {@link Double } * */ public void setDefaultConfidence(Double value) { this.defaultConfidence = value; } /** * Gets the value of the defaultScore property. * * @return * possible object is * {@link String } * */ public String getDefaultScore() { return defaultScore; } /** * Sets the value of the defaultScore property. * * @param value * allowed object is * {@link String } * */ public void setDefaultScore(String value) { this.defaultScore = value; } /** * Gets the value of the nbCorrect property. * * @return * possible object is * {@link Double } * */ public Double getNbCorrect() { return nbCorrect; } /** * Sets the value of the nbCorrect property. * * @param value * allowed object is * {@link Double } * */ public void setNbCorrect(Double value) { this.nbCorrect = value; } /** * Gets the value of the recordCount property. * * @return * possible object is * {@link Double } * */ public Double getRecordCount() { return recordCount; } /** * Sets the value of the recordCount property. * * @param value * allowed object is * {@link Double } * */ public void setRecordCount(Double value) { this.recordCount = value; } }