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

weka.core.pmml.jaxbbindings.Matrix 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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for Matrix element declaration. * *

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

 * <element name="Matrix">
 *   <complexType>
 *     <complexContent>
 *       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *         <choice minOccurs="0">
 *           <group ref="{http://www.dmg.org/PMML-4_1}NUM-ARRAY" maxOccurs="unbounded"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}MatCell" maxOccurs="unbounded"/>
 *         </choice>
 *         <attribute name="diagDefault" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
 *         <attribute name="kind" default="any">
 *           <simpleType>
 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               <enumeration value="diagonal"/>
 *               <enumeration value="symmetric"/>
 *               <enumeration value="any"/>
 *             </restriction>
 *           </simpleType>
 *         </attribute>
 *         <attribute name="nbCols" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
 *         <attribute name="nbRows" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
 *         <attribute name="offDiagDefault" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
 *       </restriction>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "numarray", "matCell" }) @XmlRootElement(name = "Matrix") public class Matrix { @XmlElement(name = "Array", namespace = "http://www.dmg.org/PMML-4_1", required = true) protected List numarray; @XmlElement(name = "MatCell", namespace = "http://www.dmg.org/PMML-4_1", required = true) protected List matCell; @XmlAttribute protected Double diagDefault; @XmlAttribute protected String kind; @XmlAttribute protected BigInteger nbCols; @XmlAttribute protected BigInteger nbRows; @XmlAttribute protected Double offDiagDefault; /** * Gets the value of the numarray 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 numarray property. * *

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

     *    getNUMARRAY().add(newItem);
     * 
* * *

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

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

     *    getMatCell().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link MatCell } * * */ public List getMatCell() { if (matCell == null) { matCell = new ArrayList(); } return this.matCell; } /** * Gets the value of the diagDefault property. * * @return * possible object is * {@link Double } * */ public Double getDiagDefault() { return diagDefault; } /** * Sets the value of the diagDefault property. * * @param value * allowed object is * {@link Double } * */ public void setDiagDefault(Double value) { this.diagDefault = value; } /** * Gets the value of the kind property. * * @return * possible object is * {@link String } * */ public String getKind() { if (kind == null) { return "any"; } else { return kind; } } /** * Sets the value of the kind property. * * @param value * allowed object is * {@link String } * */ public void setKind(String value) { this.kind = value; } /** * Gets the value of the nbCols property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNbCols() { return nbCols; } /** * Sets the value of the nbCols property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNbCols(BigInteger value) { this.nbCols = value; } /** * Gets the value of the nbRows property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNbRows() { return nbRows; } /** * Sets the value of the nbRows property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNbRows(BigInteger value) { this.nbRows = value; } /** * Gets the value of the offDiagDefault property. * * @return * possible object is * {@link Double } * */ public Double getOffDiagDefault() { return offDiagDefault; } /** * Sets the value of the offDiagDefault property. * * @param value * allowed object is * {@link Double } * */ public void setOffDiagDefault(Double value) { this.offDiagDefault = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy