lfsmethods.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 533 行 · 第 1/2 页

HTML
533
字号
<P><!-- ========= 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="LFSMethods()"><!-- --></A><H3>LFSMethods</H3><PRE>public <B>LFSMethods</B>()</PRE><DL><DD>empty constructor methods are not static because of access to inner class Link2 and LinkedList2<P></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="getBestGroup()"><!-- --></A><H3>getBestGroup</H3><PRE>public java.util.BitSet <B>getBestGroup</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>best group found by forwardSearch/floatingForwardSearch</DL></DD></DL><HR><A NAME="getBestMerit()"><!-- --></A><H3>getBestMerit</H3><PRE>public double <B>getBestMerit</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>merit of best group found by forwardSearch/floatingForwardSearch</DL></DD></DL><HR><A NAME="getBestGroupOfSize(int)"><!-- --></A><H3>getBestGroupOfSize</H3><PRE>public java.util.BitSet <B>getBestGroupOfSize</B>(int&nbsp;size)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>best group of size found by forwardSearch</DL></DD></DL><HR><A NAME="getNumEvalsCached()"><!-- --></A><H3>getNumEvalsCached</H3><PRE>public int <B>getNumEvalsCached</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>number of cached / not performed evaluations</DL></DD></DL><HR><A NAME="getNumEvalsTotal()"><!-- --></A><H3>getNumEvalsTotal</H3><PRE>public int <B>getNumEvalsTotal</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>number totally performed evaluations</DL></DD></DL><HR><A NAME="rankAttributes(weka.core.Instances, weka.attributeSelection.SubsetEvaluator, boolean)"><!-- --></A><H3>rankAttributes</H3><PRE>public int[] <B>rankAttributes</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data,                            <A HREF="../../weka/attributeSelection/SubsetEvaluator.html" title="interface in weka.attributeSelection">SubsetEvaluator</A>&nbsp;evaluator,                            boolean&nbsp;verbose)                     throws java.lang.Exception</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>ranking (integer array) of attributes in data with evaluator (sorting is NOT stable!)<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="forwardSearch(int, java.util.BitSet, int[], int, boolean, int, int, weka.core.Instances, weka.attributeSelection.SubsetEvaluator, boolean)"><!-- --></A><H3>forwardSearch</H3><PRE>public java.util.BitSet <B>forwardSearch</B>(int&nbsp;cacheSize,                                      java.util.BitSet&nbsp;startGroup,                                      int[]&nbsp;ranking,                                      int&nbsp;k,                                      boolean&nbsp;incrementK,                                      int&nbsp;maxStale,                                      int&nbsp;forceResultSize,                                      <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data,                                      <A HREF="../../weka/attributeSelection/SubsetEvaluator.html" title="interface in weka.attributeSelection">SubsetEvaluator</A>&nbsp;evaluator,                                      boolean&nbsp;verbose)                               throws java.lang.Exception</PRE><DL><DD>Performs linear forward selection<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cacheSize</CODE> - chacheSize (times number of instances) to store already evaluated sets<DD><CODE>startGroup</CODE> - start group for search (can be null)<DD><CODE>ranking</CODE> - ranking of attributes (as produced by rankAttributes), no ranking would be [0,1,2,3,4..]<DD><CODE>k</CODE> - number of top k attributes that are taken into account<DD><CODE>incrementK</CODE> - true -> fixed-set, false -> fixed-width<DD><CODE>maxStale</CODE> - number of times the search proceeds even though no improvement was found (1 = hill-climbing)<DD><CODE>forceResultSize</CODE> - stopping criteria changed from no-improvement (forceResultSize=-1) to subset-size<DD><CODE>data</CODE> - <DD><CODE>evaluator</CODE> - <DD><CODE>verbose</CODE> - <DT><B>Returns:</B><DD>BitSet, that cotains the best-group found<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="floatingForwardSearch(int, java.util.BitSet, int[], int, boolean, int, weka.core.Instances, weka.attributeSelection.SubsetEvaluator, boolean)"><!-- --></A><H3>floatingForwardSearch</H3><PRE>public java.util.BitSet <B>floatingForwardSearch</B>(int&nbsp;cacheSize,                                              java.util.BitSet&nbsp;startGroup,                                              int[]&nbsp;ranking,                                              int&nbsp;k,                                              boolean&nbsp;incrementK,                                              int&nbsp;maxStale,                                              <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data,                                              <A HREF="../../weka/attributeSelection/SubsetEvaluator.html" title="interface in weka.attributeSelection">SubsetEvaluator</A>&nbsp;evaluator,                                              boolean&nbsp;verbose)                                       throws java.lang.Exception</PRE><DL><DD>Performs linear floating forward selection ( the stopping criteria cannot be changed to a specific size value )<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cacheSize</CODE> - chacheSize (times number of instances) to store already evaluated sets<DD><CODE>startGroup</CODE> - start group for search (can be null)<DD><CODE>ranking</CODE> - ranking of attributes (as produced by rankAttributes), no ranking would be [0,1,2,3,4..]<DD><CODE>k</CODE> - number of top k attributes that are taken into account<DD><CODE>incrementK</CODE> - true -> fixed-set, false -> fixed-width<DD><CODE>maxStale</CODE> - number of times the search proceeds even though no improvement was found (1 = hill-climbing)<DD><CODE>data</CODE> - <DD><CODE>evaluator</CODE> - <DD><CODE>verbose</CODE> - <DT><B>Returns:</B><DD>BitSet, that cotains the best-group found<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</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/attributeSelection/LatentSemanticAnalysis.html" title="class in weka.attributeSelection"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/attributeSelection/LFSMethods.Link2.html" title="class in weka.attributeSelection"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?weka/attributeSelection/LFSMethods.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="LFSMethods.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;<A HREF="#nested_class_summary">NESTED</A>&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 + =
减小字号Ctrl + -
显示快捷键?