attribute.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 978 行 · 第 1/3 页

HTML
978
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the attribute is nominal.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/Attribute.html#registerStatistics(com.rapidminer.example.Statistics)">registerStatistics</A></B>(<A HREF="../../../com/rapidminer/example/Statistics.html" title="interface in com.rapidminer.example">Statistics</A>&nbsp;statistics)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers the attribute statistics.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/Attribute.html#setBlockType(int)">setBlockType</A></B>(int&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the block type of this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/Attribute.html#setDefault(double)">setDefault</A></B>(double&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default value for this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/Attribute.html#setMapping(com.rapidminer.example.table.NominalMapping)">setMapping</A></B>(<A HREF="../../../com/rapidminer/example/table/NominalMapping.html" title="interface in com.rapidminer.example.table">NominalMapping</A>&nbsp;nominalMapping)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the nominal mapping between nominal values and internal double representations.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/Attribute.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/Attribute.html#setTableIndex(int)">setTableIndex</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the index in the example table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/Attribute.html#setValue(com.rapidminer.example.table.DataRow, double)">setValue</A></B>(<A HREF="../../../com/rapidminer/example/table/DataRow.html" title="class in com.rapidminer.example.table">DataRow</A>&nbsp;row,         double&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value for the column this attribute corresponds to in the given data row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/Attribute.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a human readable string that describes this attribute.</TD></TR></TABLE>&nbsp;<P><!-- ============ 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="UNDEFINED_ATTRIBUTE_INDEX"><!-- --></A><H3>UNDEFINED_ATTRIBUTE_INDEX</H3><PRE>static final int <B>UNDEFINED_ATTRIBUTE_INDEX</B></PRE><DL><DD>Used to identify that this attribute is not part of any example table.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.example.Attribute.UNDEFINED_ATTRIBUTE_INDEX">Constant Field Values</A></DL></DL><HR><A NAME="VIEW_ATTRIBUTE_INDEX"><!-- --></A><H3>VIEW_ATTRIBUTE_INDEX</H3><PRE>static final int <B>VIEW_ATTRIBUTE_INDEX</B></PRE><DL><DD>Used to identify view attributes<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.example.Attribute.VIEW_ATTRIBUTE_INDEX">Constant Field Values</A></DL></DL><HR><A NAME="MISSING_NOMINAL_VALUE"><!-- --></A><H3>MISSING_NOMINAL_VALUE</H3><PRE>static final java.lang.String <B>MISSING_NOMINAL_VALUE</B></PRE><DL><DD>Indicates a missing value for nominal values. For the internal values and  numerical values, Double.NaN is used which can be checked via   <CODE>Double.isNaN(double)</CODE>.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rapidminer.example.Attribute.MISSING_NOMINAL_VALUE">Constant Field Values</A></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE><DL><DD>Returns true if the given object is an attribute with the same name and table index.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>int <B>hashCode</B>()</PRE><DL><DD>Returns the hash code. Please note that equal attributes must return the same hash code.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>java.lang.Object <B>clone</B>()</PRE><DL><DD>Clones this attribute.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>java.lang.String <B>getName</B>()</PRE><DL><DD>Returns the name of the attribute.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>void <B>setName</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Sets the name of the attribute.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getTableIndex()"><!-- --></A><H3>getTableIndex</H3><PRE>int <B>getTableIndex</B>()</PRE><DL><DD>Returns the index in the example table.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setTableIndex(int)"><!-- --></A><H3>setTableIndex</H3><PRE>void <B>setTableIndex</B>(int&nbsp;index)</PRE><DL><DD>Sets the index in the example table.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getValue(com.rapidminer.example.table.DataRow)"><!-- --></A><H3>getValue</H3><PRE>double <B>getValue</B>(<A HREF="../../../com/rapidminer/example/table/DataRow.html" title="class in com.rapidminer.example.table">DataRow</A>&nbsp;row)</PRE><DL><DD>Returns the value for the column this attribute corresponds to in the given data row.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setValue(com.rapidminer.example.table.DataRow, double)"><!-- --></A><H3>setValue</H3><PRE>void <B>setValue</B>(<A HREF="../../../com/rapidminer/example/table/DataRow.html" title="class in com.rapidminer.example.table">DataRow</A>&nbsp;row,              double&nbsp;value)</PRE><DL><DD>Sets the value for the column this attribute corresponds to in the given data row.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addTransformation(com.rapidminer.example.AttributeTransformation)"><!-- --></A><H3>addTransformation</H3><PRE>void <B>addTransformation</B>(<A HREF="../../../com/rapidminer/example/AttributeTransformation.html" title="interface in com.rapidminer.example">AttributeTransformation</A>&nbsp;transformation)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getLastTransformation()"><!-- --></A><H3>getLastTransformation</H3><PRE><A HREF="../../../com/rapidminer/example/AttributeTransformation.html" title="interface in com.rapidminer.example">AttributeTransformation</A> <B>getLastTransformation</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clearTransformations()"><!-- --></A><H3>clearTransformations</H3><PRE>void <B>clearTransformations</B>()</PRE><DL><DD>Clear all transformations.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAllStatistics()"><!-- --></A><H3>getAllStatistics</H3><PRE>java.util.Iterator&lt;<A HREF="../../../com/rapidminer/example/Statistics.html" title="interface in com.rapidminer.example">Statistics</A>&gt; <B>getAllStatistics</B>()</PRE><DL><DD>Returns an iterator over all statistics objects available for this type of attribute.   Additional statistics can be registered via <A HREF="../../../com/rapidminer/example/Attribute.html#registerStatistics(com.rapidminer.example.Statistics)"><CODE>registerStatistics(Statistics)</CODE></A>.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?