📄 relieffattributeeval.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/attributeSelection/ReliefFAttributeEval.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[] options)</CODE><BR> Parses a given list of options.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/attributeSelection/ReliefFAttributeEval.html#setSampleSize(int)">setSampleSize</A></B>(int s)</CODE><BR> Set the number of instances to sample for attribute estimation</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/attributeSelection/ReliefFAttributeEval.html#setSeed(int)">setSeed</A></B>(int s)</CODE><BR> Set the random number seed for randomly sampling instances.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/attributeSelection/ReliefFAttributeEval.html#setSigma(int)">setSigma</A></B>(int s)</CODE><BR> Sets the sigma value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/attributeSelection/ReliefFAttributeEval.html#setWeightByDistance(boolean)">setWeightByDistance</A></B>(boolean b)</CODE><BR> Set the nearest neighbour weighting method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/attributeSelection/ReliefFAttributeEval.html#sigmaTipText()">sigmaTipText</A></B>()</CODE><BR> Returns the tip text for this property</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/attributeSelection/ReliefFAttributeEval.html#toString()">toString</A></B>()</CODE><BR> Return a description of the ReliefF attribute evaluator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/attributeSelection/ReliefFAttributeEval.html#weightByDistanceTipText()">weightByDistanceTipText</A></B>()</CODE><BR> Returns the tip text for this property</TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.attributeSelection.ASEvaluation"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class weka.attributeSelection.<A HREF="../../weka/attributeSelection/ASEvaluation.html" title="class in weka.attributeSelection">ASEvaluation</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html#forName(java.lang.String, java.lang.String[])">forName</A>, <A HREF="../../weka/attributeSelection/ASEvaluation.html#makeCopies(weka.attributeSelection.ASEvaluation, int)">makeCopies</A>, <A HREF="../../weka/attributeSelection/ASEvaluation.html#postProcess(int[])">postProcess</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ReliefFAttributeEval()"><!-- --></A><H3>ReliefFAttributeEval</H3><PRE>public <B>ReliefFAttributeEval</B>()</PRE><DL><DD>Constructor<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="globalInfo()"><!-- --></A><H3>globalInfo</H3><PRE>public java.lang.String <B>globalInfo</B>()</PRE><DL><DD>Returns a string describing this attribute evaluator<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a description of the evaluator suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="listOptions()"><!-- --></A><H3>listOptions</H3><PRE>public java.util.Enumeration <B>listOptions</B>()</PRE><DL><DD>Returns an enumeration describing the available options.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#listOptions()">listOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of all the available options.</DL></DD></DL><HR><A NAME="setOptions(java.lang.String[])"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(java.lang.String[] options) throws java.lang.Exception</PRE><DL><DD>Parses a given list of options. Valid options are: <p> -M <number of instances> <br> Specify the number of instances to sample when estimating attributes. <br> If not specified then all instances will be used. <p> -D <seed> <br> Seed for randomly sampling instances. <p> -K <number of neighbours> <br> Number of nearest neighbours to use for estimating attributes. <br> (Default is 10). <p> -W <br> Weight nearest neighbours by distance. <p> -A <sigma> <br> Specify sigma value (used in an exp function to control how quickly <br> weights decrease for more distant instances). Use in conjunction with <br> -W. Sensible values = 1/5 to 1/10 the number of nearest neighbours. <br><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#setOptions(java.lang.String[])">setOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>options</CODE> - the list of options as an array of strings<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an option is not supported</DL></DD></DL><HR><A NAME="sigmaTipText()"><!-- --></A><H3>sigmaTipText</H3><PRE>public java.lang.String <B>sigmaTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="setSigma(int)"><!-- --></A><H3>setSigma</H3><PRE>public void <B>setSigma</B>(int s) throws java.lang.Exception</PRE><DL><DD>Sets the sigma value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the value of sigma (> 0)<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if s is not positive</DL></DD></DL><HR><A NAME="getSigma()"><!-- --></A><H3>getSigma</H3><PRE>public int <B>getSigma</B>()</PRE><DL><DD>Get the value of sigma.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the sigma value.</DL></DD></DL><HR><A NAME="numNeighboursTipText()"><!-- --></A><H3>numNeighboursTipText</H3><PRE>public java.lang.String <B>numNeighboursTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="setNumNeighbours(int)"><!-- --></A><H3>setNumNeighbours</H3><PRE>public void <B>setNumNeighbours</B>(int n)</PRE><DL><DD>Set the number of nearest neighbours<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - the number of nearest neighbours.</DL></DD></DL><HR><A NAME="getNumNeighbours()"><!-- --></A><H3>getNumNeighbours</H3><PRE>public int <B>getNumNeighbours</B>()</PRE><DL><DD>Get the number of nearest neighbours<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of nearest neighbours</DL></DD></DL><HR><A NAME="seedTipText()"><!-- --></A><H3>seedTipText</H3><PRE>public java.lang.String <B>seedTipText</B>()</PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -