Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
weka.core.pmml.jaxbbindings.GeneralRegressionModel 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.
//
// 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 GeneralRegressionModel element declaration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="GeneralRegressionModel">
* <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}Output" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}ModelStats" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}ModelExplanation" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}Targets" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}LocalTransformations" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}ParameterList"/>
* <element ref="{http://www.dmg.org/PMML-4_1}FactorList" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}CovariateList" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}PPMatrix"/>
* <element ref="{http://www.dmg.org/PMML-4_1}PCovMatrix" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}ParamMatrix"/>
* <element ref="{http://www.dmg.org/PMML-4_1}EventValues" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}BaseCumHazardTables" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}ModelVerification" 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="baselineStrataVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <attribute name="cumulativeLink" type="{http://www.dmg.org/PMML-4_1}CUMULATIVE-LINK-FUNCTION" />
* <attribute name="distParameter" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="distribution">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="binomial"/>
* <enumeration value="gamma"/>
* <enumeration value="igauss"/>
* <enumeration value="negbin"/>
* <enumeration value="normal"/>
* <enumeration value="poisson"/>
* <enumeration value="tweedie"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="endTimeVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <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="linkFunction" type="{http://www.dmg.org/PMML-4_1}LINK-FUNCTION" />
* <attribute name="linkParameter" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="modelDF" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="modelType" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="regression"/>
* <enumeration value="generalLinear"/>
* <enumeration value="multinomialLogistic"/>
* <enumeration value="ordinalMultinomial"/>
* <enumeration value="generalizedLinear"/>
* <enumeration value="CoxRegression"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="offsetValue" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="offsetVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <attribute name="startTimeVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <attribute name="statusVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <attribute name="subjectIDVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <attribute name="targetReferenceCategory" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="targetVariableName" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <attribute name="trialsValue" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
* <attribute name="trialsVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
@XmlRootElement(name = "GeneralRegressionModel")
public class GeneralRegressionModel {
@XmlElementRefs({
@XmlElementRef(name = "ModelExplanation", namespace = "http://www.dmg.org/PMML-4_1", type = ModelExplanation.class),
@XmlElementRef(name = "EventValues", namespace = "http://www.dmg.org/PMML-4_1", type = EventValues.class),
@XmlElementRef(name = "Output", namespace = "http://www.dmg.org/PMML-4_1", type = Output.class),
@XmlElementRef(name = "LocalTransformations", namespace = "http://www.dmg.org/PMML-4_1", type = LocalTransformations.class),
@XmlElementRef(name = "PPMatrix", namespace = "http://www.dmg.org/PMML-4_1", type = PPMatrix.class),
@XmlElementRef(name = "Targets", namespace = "http://www.dmg.org/PMML-4_1", type = Targets.class),
@XmlElementRef(name = "ParameterList", namespace = "http://www.dmg.org/PMML-4_1", type = ParameterList.class),
@XmlElementRef(name = "ModelVerification", namespace = "http://www.dmg.org/PMML-4_1", type = ModelVerification.class),
@XmlElementRef(name = "Extension", namespace = "http://www.dmg.org/PMML-4_1", type = Extension.class),
@XmlElementRef(name = "ModelStats", namespace = "http://www.dmg.org/PMML-4_1", type = ModelStats.class),
@XmlElementRef(name = "CovariateList", namespace = "http://www.dmg.org/PMML-4_1", type = CovariateList.class),
@XmlElementRef(name = "BaseCumHazardTables", namespace = "http://www.dmg.org/PMML-4_1", type = BaseCumHazardTables.class),
@XmlElementRef(name = "PCovMatrix", namespace = "http://www.dmg.org/PMML-4_1", type = PCovMatrix.class),
@XmlElementRef(name = "FactorList", namespace = "http://www.dmg.org/PMML-4_1", type = FactorList.class),
@XmlElementRef(name = "MiningSchema", namespace = "http://www.dmg.org/PMML-4_1", type = MiningSchema.class),
@XmlElementRef(name = "ParamMatrix", namespace = "http://www.dmg.org/PMML-4_1", type = ParamMatrix.class)
})
protected List content;
@XmlAttribute
protected String algorithmName;
@XmlAttribute
protected String baselineStrataVariable;
@XmlAttribute
protected CUMULATIVELINKFUNCTION cumulativeLink;
@XmlAttribute
protected Double distParameter;
@XmlAttribute
protected String distribution;
@XmlAttribute
protected String endTimeVariable;
@XmlAttribute(required = true)
protected MININGFUNCTION functionName;
@XmlAttribute
protected Boolean isScorable;
@XmlAttribute
protected LINKFUNCTION linkFunction;
@XmlAttribute
protected Double linkParameter;
@XmlAttribute
protected Double modelDF;
@XmlAttribute
protected String modelName;
@XmlAttribute(required = true)
protected String modelType;
@XmlAttribute
protected Double offsetValue;
@XmlAttribute
protected String offsetVariable;
@XmlAttribute
protected String startTimeVariable;
@XmlAttribute
protected String statusVariable;
@XmlAttribute
protected String subjectIDVariable;
@XmlAttribute
protected String targetReferenceCategory;
@XmlAttribute
protected String targetVariableName;
@XmlAttribute
protected BigInteger trialsValue;
@XmlAttribute
protected String trialsVariable;
/**
* 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 2515 of file:/home/david/workspace/weka/pmml-4-1.xsd
* line 2499 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 ModelExplanation }
* {@link EventValues }
* {@link Output }
* {@link LocalTransformations }
* {@link PPMatrix }
* {@link Targets }
* {@link ParameterList }
* {@link ModelVerification }
* {@link Extension }
* {@link ModelStats }
* {@link CovariateList }
* {@link BaseCumHazardTables }
* {@link PCovMatrix }
* {@link FactorList }
* {@link MiningSchema }
* {@link ParamMatrix }
*
*
*/
public List getContent() {
if (content == null) {
content = new ArrayList();
}
return this.content;
}
public void addContent(Object object) {
if (content == null) {
content = new ArrayList();
}
content.add(object);
}
/**
* 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 baselineStrataVariable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBaselineStrataVariable() {
return baselineStrataVariable;
}
/**
* Sets the value of the baselineStrataVariable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBaselineStrataVariable(String value) {
this.baselineStrataVariable = value;
}
/**
* Gets the value of the cumulativeLink property.
*
* @return
* possible object is
* {@link CUMULATIVELINKFUNCTION }
*
*/
public CUMULATIVELINKFUNCTION getCumulativeLink() {
return cumulativeLink;
}
/**
* Sets the value of the cumulativeLink property.
*
* @param value
* allowed object is
* {@link CUMULATIVELINKFUNCTION }
*
*/
public void setCumulativeLink(CUMULATIVELINKFUNCTION value) {
this.cumulativeLink = value;
}
/**
* Gets the value of the distParameter property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getDistParameter() {
return distParameter;
}
/**
* Sets the value of the distParameter property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setDistParameter(Double value) {
this.distParameter = value;
}
/**
* Gets the value of the distribution property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDistribution() {
return distribution;
}
/**
* Sets the value of the distribution property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDistribution(String value) {
this.distribution = value;
}
/**
* Gets the value of the endTimeVariable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEndTimeVariable() {
return endTimeVariable;
}
/**
* Sets the value of the endTimeVariable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEndTimeVariable(String value) {
this.endTimeVariable = 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 linkFunction property.
*
* @return
* possible object is
* {@link LINKFUNCTION }
*
*/
public LINKFUNCTION getLinkFunction() {
return linkFunction;
}
/**
* Sets the value of the linkFunction property.
*
* @param value
* allowed object is
* {@link LINKFUNCTION }
*
*/
public void setLinkFunction(LINKFUNCTION value) {
this.linkFunction = value;
}
/**
* Gets the value of the linkParameter property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getLinkParameter() {
return linkParameter;
}
/**
* Sets the value of the linkParameter property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setLinkParameter(Double value) {
this.linkParameter = value;
}
/**
* Gets the value of the modelDF property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getModelDF() {
return modelDF;
}
/**
* Sets the value of the modelDF property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setModelDF(Double value) {
this.modelDF = 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 modelType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getModelType() {
return modelType;
}
/**
* Sets the value of the modelType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setModelType(String value) {
this.modelType = value;
}
/**
* Gets the value of the offsetValue property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getOffsetValue() {
return offsetValue;
}
/**
* Sets the value of the offsetValue property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setOffsetValue(Double value) {
this.offsetValue = value;
}
/**
* Gets the value of the offsetVariable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOffsetVariable() {
return offsetVariable;
}
/**
* Sets the value of the offsetVariable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOffsetVariable(String value) {
this.offsetVariable = value;
}
/**
* Gets the value of the startTimeVariable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStartTimeVariable() {
return startTimeVariable;
}
/**
* Sets the value of the startTimeVariable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStartTimeVariable(String value) {
this.startTimeVariable = value;
}
/**
* Gets the value of the statusVariable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatusVariable() {
return statusVariable;
}
/**
* Sets the value of the statusVariable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatusVariable(String value) {
this.statusVariable = value;
}
/**
* Gets the value of the subjectIDVariable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubjectIDVariable() {
return subjectIDVariable;
}
/**
* Sets the value of the subjectIDVariable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubjectIDVariable(String value) {
this.subjectIDVariable = value;
}
/**
* Gets the value of the targetReferenceCategory property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetReferenceCategory() {
return targetReferenceCategory;
}
/**
* Sets the value of the targetReferenceCategory property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetReferenceCategory(String value) {
this.targetReferenceCategory = value;
}
/**
* Gets the value of the targetVariableName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetVariableName() {
return targetVariableName;
}
/**
* Sets the value of the targetVariableName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetVariableName(String value) {
this.targetVariableName = value;
}
/**
* Gets the value of the trialsValue property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTrialsValue() {
return trialsValue;
}
/**
* Sets the value of the trialsValue property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTrialsValue(BigInteger value) {
this.trialsValue = value;
}
/**
* Gets the value of the trialsVariable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrialsVariable() {
return trialsVariable;
}
/**
* Sets the value of the trialsVariable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTrialsVariable(String value) {
this.trialsVariable = value;
}
}