attribute.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,842 行 · 第 1/5 页
HTML
1,842 行
<!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="NUMERIC"><!-- --></A><H3>NUMERIC</H3><PRE>public static final int <B>NUMERIC</B></PRE><DL><DD>Constant set for numeric attributes.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.NUMERIC">Constant Field Values</A></DL></DL><HR><A NAME="NOMINAL"><!-- --></A><H3>NOMINAL</H3><PRE>public static final int <B>NOMINAL</B></PRE><DL><DD>Constant set for nominal attributes.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.NOMINAL">Constant Field Values</A></DL></DL><HR><A NAME="STRING"><!-- --></A><H3>STRING</H3><PRE>public static final int <B>STRING</B></PRE><DL><DD>Constant set for attributes with string values.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.STRING">Constant Field Values</A></DL></DL><HR><A NAME="DATE"><!-- --></A><H3>DATE</H3><PRE>public static final int <B>DATE</B></PRE><DL><DD>Constant set for attributes with date values.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.DATE">Constant Field Values</A></DL></DL><HR><A NAME="RELATIONAL"><!-- --></A><H3>RELATIONAL</H3><PRE>public static final int <B>RELATIONAL</B></PRE><DL><DD>Constant set for relation-valued attributes.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.RELATIONAL">Constant Field Values</A></DL></DL><HR><A NAME="ORDERING_SYMBOLIC"><!-- --></A><H3>ORDERING_SYMBOLIC</H3><PRE>public static final int <B>ORDERING_SYMBOLIC</B></PRE><DL><DD>Constant set for symbolic attributes.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ORDERING_SYMBOLIC">Constant Field Values</A></DL></DL><HR><A NAME="ORDERING_ORDERED"><!-- --></A><H3>ORDERING_ORDERED</H3><PRE>public static final int <B>ORDERING_ORDERED</B></PRE><DL><DD>Constant set for ordered attributes.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ORDERING_ORDERED">Constant Field Values</A></DL></DL><HR><A NAME="ORDERING_MODULO"><!-- --></A><H3>ORDERING_MODULO</H3><PRE>public static final int <B>ORDERING_MODULO</B></PRE><DL><DD>Constant set for modulo-ordered attributes.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ORDERING_MODULO">Constant Field Values</A></DL></DL><HR><A NAME="ARFF_ATTRIBUTE"><!-- --></A><H3>ARFF_ATTRIBUTE</H3><PRE>public static final java.lang.String <B>ARFF_ATTRIBUTE</B></PRE><DL><DD>The keyword used to denote the start of an arff attribute declaration<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ARFF_ATTRIBUTE">Constant Field Values</A></DL></DL><HR><A NAME="ARFF_ATTRIBUTE_INTEGER"><!-- --></A><H3>ARFF_ATTRIBUTE_INTEGER</H3><PRE>public static final java.lang.String <B>ARFF_ATTRIBUTE_INTEGER</B></PRE><DL><DD>A keyword used to denote a numeric attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ARFF_ATTRIBUTE_INTEGER">Constant Field Values</A></DL></DL><HR><A NAME="ARFF_ATTRIBUTE_REAL"><!-- --></A><H3>ARFF_ATTRIBUTE_REAL</H3><PRE>public static final java.lang.String <B>ARFF_ATTRIBUTE_REAL</B></PRE><DL><DD>A keyword used to denote a numeric attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ARFF_ATTRIBUTE_REAL">Constant Field Values</A></DL></DL><HR><A NAME="ARFF_ATTRIBUTE_NUMERIC"><!-- --></A><H3>ARFF_ATTRIBUTE_NUMERIC</H3><PRE>public static final java.lang.String <B>ARFF_ATTRIBUTE_NUMERIC</B></PRE><DL><DD>A keyword used to denote a numeric attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ARFF_ATTRIBUTE_NUMERIC">Constant Field Values</A></DL></DL><HR><A NAME="ARFF_ATTRIBUTE_STRING"><!-- --></A><H3>ARFF_ATTRIBUTE_STRING</H3><PRE>public static final java.lang.String <B>ARFF_ATTRIBUTE_STRING</B></PRE><DL><DD>The keyword used to denote a string attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ARFF_ATTRIBUTE_STRING">Constant Field Values</A></DL></DL><HR><A NAME="ARFF_ATTRIBUTE_DATE"><!-- --></A><H3>ARFF_ATTRIBUTE_DATE</H3><PRE>public static final java.lang.String <B>ARFF_ATTRIBUTE_DATE</B></PRE><DL><DD>The keyword used to denote a date attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ARFF_ATTRIBUTE_DATE">Constant Field Values</A></DL></DL><HR><A NAME="ARFF_ATTRIBUTE_RELATIONAL"><!-- --></A><H3>ARFF_ATTRIBUTE_RELATIONAL</H3><PRE>public static final java.lang.String <B>ARFF_ATTRIBUTE_RELATIONAL</B></PRE><DL><DD>The keyword used to denote a relation-valued attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ARFF_ATTRIBUTE_RELATIONAL">Constant Field Values</A></DL></DL><HR><A NAME="ARFF_END_SUBRELATION"><!-- --></A><H3>ARFF_END_SUBRELATION</H3><PRE>public static final java.lang.String <B>ARFF_END_SUBRELATION</B></PRE><DL><DD>The keyword used to denote the end of the declaration of a subrelation<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Attribute.ARFF_END_SUBRELATION">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Attribute(java.lang.String)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName)</PRE><DL><DD>Constructor for a numeric attribute.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute</DL></DL><HR><A NAME="Attribute(java.lang.String, weka.core.ProtectedProperties)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, <A HREF="../../weka/core/ProtectedProperties.html" title="class in weka.core">ProtectedProperties</A> metadata)</PRE><DL><DD>Constructor for a numeric attribute, where metadata is supplied.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>metadata</CODE> - the attribute's properties</DL></DL><HR><A NAME="Attribute(java.lang.String, java.lang.String)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, java.lang.String dateFormat)</PRE><DL><DD>Constructor for a date attribute.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>dateFormat</CODE> - a string suitable for use with SimpleDateFormatter for parsing dates.</DL></DL><HR><A NAME="Attribute(java.lang.String, java.lang.String, weka.core.ProtectedProperties)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, java.lang.String dateFormat, <A HREF="../../weka/core/ProtectedProperties.html" title="class in weka.core">ProtectedProperties</A> metadata)</PRE><DL><DD>Constructor for a date attribute, where metadata is supplied.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>dateFormat</CODE> - a string suitable for use with SimpleDateFormatter for parsing dates.<DD><CODE>metadata</CODE> - the attribute's properties</DL></DL><HR><A NAME="Attribute(java.lang.String, weka.core.FastVector)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, <A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> attributeValues)</PRE><DL><DD>Constructor for nominal attributes and string attributes. If a null vector of attribute values is passed to the method, the attribute is assumed to be a string.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>attributeValues</CODE> - a vector of strings denoting the attribute values. Null if the attribute is a string attribute.</DL></DL><HR><A NAME="Attribute(java.lang.String, weka.core.FastVector, weka.core.ProtectedProperties)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, <A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> attributeValues, <A HREF="../../weka/core/ProtectedProperties.html" title="class in weka.core">ProtectedProperties</A> metadata)</PRE><DL><DD>Constructor for nominal attributes and string attributes, where metadata is supplied. If a null vector of attribute values is passed to the method, the attribute is assumed to be a string.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>attributeValues</CODE> - a vector of strings denoting the attribute values. Null if the attribute is a string attribute.<DD><CODE>metadata</CODE> - the attribute's properties</DL></DL><HR><A NAME="Attribute(java.lang.String, weka.core.Instances)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> header)</PRE><DL><DD>Constructor for relation-valued attributes.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>header</CODE> - an Instances object specifying the header of the relation.</DL></DL><HR><A NAME="Attribute(java.lang.String, weka.core.Instances, weka.core.ProtectedProperties)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> header, <A HREF="../../weka/core/ProtectedProperties.html" title="class in weka.core">ProtectedProperties</A> metadata)</PRE><DL><DD>Constructor for relation-valued attributes.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>header</CODE> - an Instances object specifying the header of the relation.<DD><CODE>metadata</CODE> - the attribute's properties</DL></DL><HR><A NAME="Attribute(java.lang.String, int)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, int index)</PRE><DL><DD>Constructor for a numeric attribute with a particular index.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>index</CODE> - the attribute's index</DL></DL><HR><A NAME="Attribute(java.lang.String, java.lang.String, int)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, java.lang.String dateFormat, int index)</PRE><DL><DD>Constructor for date attributes with a particular index.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>dateFormat</CODE> - a string suitable for use with SimpleDateFormatter for parsing dates. Null for a default format string.<DD><CODE>index</CODE> - the attribute's index</DL></DL><HR><A NAME="Attribute(java.lang.String, weka.core.FastVector, int)"><!-- --></A><H3>Attribute</H3><PRE>public <B>Attribute</B>(java.lang.String attributeName, <A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> attributeValues, int index)</PRE><DL><DD>Constructor for nominal attributes and string attributes with a particular index. If a null vector of attribute values is passed to the method, the attribute is assumed to be a string.<P><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name for the attribute<DD><CODE>attributeValues</CODE> - a vector of strings denoting the attribute values. Null if the attribute is a string attribute.<DD><CODE>index</CODE> - the attribute's index</DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?