⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 attributelocator.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="AttributeLocator(weka.core.Instances, int, int, int)"><!-- --></A><H3>AttributeLocator</H3><PRE>public <B>AttributeLocator</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data,                        int&nbsp;type,                        int&nbsp;fromIndex,                        int&nbsp;toIndex)</PRE><DL><DD>Initializes the AttributeLocator with the given data for the specified type of attribute. Checks only the given range.<P><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data to work on<DD><CODE>type</CODE> - the type of attribute to locate<DD><CODE>fromIndex</CODE> - the first index to inspect (including)<DD><CODE>toIndex</CODE> - the last index to check (including)</DL></DL><HR><A NAME="AttributeLocator(weka.core.Instances, int, int[])"><!-- --></A><H3>AttributeLocator</H3><PRE>public <B>AttributeLocator</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data,                        int&nbsp;type,                        int[]&nbsp;indices)</PRE><DL><DD>initializes the AttributeLocator with the given data for the specified type of attribute. Checks only the given attribute indices.<P><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data to work on<DD><CODE>type</CODE> - the type of attribute to locate<DD><CODE>indices</CODE> - the attribute indices to check</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="getType()"><!-- --></A><H3>getType</H3><PRE>public int <B>getType</B>()</PRE><DL><DD>returns the type of attribute that is located<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the type of attribute</DL></DD></DL><HR><A NAME="getAllowedIndices()"><!-- --></A><H3>getAllowedIndices</H3><PRE>public int[] <B>getAllowedIndices</B>()</PRE><DL><DD>returns the indices that are allowed to check for the attribute type<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the indices that are checked for the attribute type</DL></DD></DL><HR><A NAME="getData()"><!-- --></A><H3>getData</H3><PRE>public <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> <B>getData</B>()</PRE><DL><DD>returns the underlying data<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the underlying Instances object</DL></DD></DL><HR><A NAME="getActualIndex(int)"><!-- --></A><H3>getActualIndex</H3><PRE>public int <B>getActualIndex</B>(int&nbsp;index)</PRE><DL><DD>returns actual index in the Instances object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index in the m_AllowedIndices array<DT><B>Returns:</B><DD>the actual index in the instances object</DL></DD></DL><HR><A NAME="getAttributeIndices()"><!-- --></A><H3>getAttributeIndices</H3><PRE>public int[] <B>getAttributeIndices</B>()</PRE><DL><DD>Returns the indices of the attributes. These indices are referring to the m_AllowedIndices array, not the actual indices in the Instances object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the indices of the attributes<DT><B>See Also:</B><DD><A HREF="../../weka/core/AttributeLocator.html#getActualIndex(int)"><CODE>getActualIndex(int)</CODE></A></DL></DD></DL><HR><A NAME="getLocatorIndices()"><!-- --></A><H3>getLocatorIndices</H3><PRE>public int[] <B>getLocatorIndices</B>()</PRE><DL><DD>Returns the indices of the AttributeLocator objects.  These indices are  referring to the m_AllowedIndices array, not the actual indices in the  Instances object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the indices of the AttributeLocator objects<DT><B>See Also:</B><DD><A HREF="../../weka/core/AttributeLocator.html#getActualIndex(int)"><CODE>getActualIndex(int)</CODE></A></DL></DD></DL><HR><A NAME="getLocator(int)"><!-- --></A><H3>getLocator</H3><PRE>public <A HREF="../../weka/core/AttributeLocator.html" title="class in weka.core">AttributeLocator</A> <B>getLocator</B>(int&nbsp;index)</PRE><DL><DD>Returns the AttributeLocator at the given index. This index refers to the index of the m_AllowedIndices array, not the actual Instances object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the locator to retrieve<DT><B>Returns:</B><DD>the AttributeLocator at the given index</DL></DD></DL><HR><A NAME="compareTo(weka.core.AttributeLocator)"><!-- --></A><H3>compareTo</H3><PRE>public int <B>compareTo</B>(<A HREF="../../weka/core/AttributeLocator.html" title="class in weka.core">AttributeLocator</A>&nbsp;o)</PRE><DL><DD>Compares this object with the specified object for order. Returns a  negative integer, zero, or a positive integer as this object is less  than, equal to, or greater than the specified object. Only type and indices are checked.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable&lt;<A HREF="../../weka/core/AttributeLocator.html" title="class in weka.core">AttributeLocator</A>&gt;</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to compare with<DT><B>Returns:</B><DD>-1 if less than, 0 if equal, +1 if greater than the                         given object</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE><DL><DD>Indicates whether some other object is "equal to" this one. Only type and indices are checked.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the AttributeLocator to check for equality<DT><B>Returns:</B><DD>true if the AttributeLocators have the same type and                         indices</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns a string representation of this object<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representation</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../weka/core/AttributeExpression.html" title="class in weka.core"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/core/AttributeStats.html" title="class in weka.core"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?weka/core/AttributeLocator.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AttributeLocator.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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