org.dmg.pmml.sequence.SequenceRule Maven / Gradle / Ivy
package org.dmg.pmml.sequence;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
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;
import org.dmg.pmml.Entity;
import org.dmg.pmml.Extension;
import org.dmg.pmml.PMMLObject;
import org.dmg.pmml.Visitor;
import org.dmg.pmml.VisitorAction;
import org.jpmml.schema.Added;
import org.jpmml.schema.Version;
import org.w3c.dom.Element;
/**
* 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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_3}AntecedentSequence"/>
* <element ref="{http://www.dmg.org/PMML-4_3}Delimiter"/>
* <element ref="{http://www.dmg.org/PMML-4_3}Time" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_3}ConsequentSequence"/>
* <element ref="{http://www.dmg.org/PMML-4_3}Time" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_3}ELEMENT-ID" />
* <attribute name="numberOfSets" use="required" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
* <attribute name="occurrence" use="required" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
* <attribute name="support" use="required" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
* <attribute name="confidence" use="required" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
* <attribute name="lift" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
@XmlRootElement(name = "SequenceRule", namespace = "http://www.dmg.org/PMML-4_3")
public class SequenceRule
extends Entity
{
@XmlAttribute(name = "id", required = true)
private String id;
@XmlAttribute(name = "numberOfSets", required = true)
private int numberOfSets;
@XmlAttribute(name = "occurrence", required = true)
private int occurrence;
@XmlAttribute(name = "support", required = true)
private double support;
@XmlAttribute(name = "confidence", required = true)
private double confidence;
@XmlAttribute(name = "lift")
@Added(Version.PMML_3_1)
private Double lift;
@XmlElementRefs({
@XmlElementRef(name = "ConsequentSequence", namespace = "http://www.dmg.org/PMML-4_3", type = ConsequentSequence.class, required = false),
@XmlElementRef(name = "Delimiter", namespace = "http://www.dmg.org/PMML-4_3", type = Delimiter.class, required = false),
@XmlElementRef(name = "Extension", namespace = "http://www.dmg.org/PMML-4_3", type = Extension.class, required = false),
@XmlElementRef(name = "AntecedentSequence", namespace = "http://www.dmg.org/PMML-4_3", type = AntecedentSequence.class, required = false),
@XmlElementRef(name = "Time", namespace = "http://www.dmg.org/PMML-4_3", type = Time.class, required = false)
})
@XmlAnyElement(lax = true)
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy