📄 discretizefilter.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#getMakeBinary()">getMakeBinary</A></B>()</CODE><BR> Gets whether binary attributes should be made for discretized ones.</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/filters/DiscretizeFilter.html#getOptions()">getOptions</A></B>()</CODE><BR> Gets the current settings of the filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#getUseBetterEncoding()">getUseBetterEncoding</A></B>()</CODE><BR> Gets whether better encoding is to be used for MDL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#getUseKononenko()">getUseKononenko</A></B>()</CODE><BR> Gets whether Kononenko's MDL criterion is to be used.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#getUseMDL()">getUseMDL</A></B>()</CODE><BR> Gets whether MDL will be used as the discretisation 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/filters/DiscretizeFilter.html#globalInfo()">globalInfo</A></B>()</CODE><BR> Returns a string describing this filter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#input(weka.core.Instance)">input</A></B>(<A HREF="../../weka/core/Instance.html">Instance</A> instance)</CODE><BR> Input an instance for filtering.</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/filters/DiscretizeFilter.html#invertSelectionTipText()">invertSelectionTipText</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.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#listOptions()">listOptions</A></B>()</CODE><BR> Gets an enumeration describing the available options</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#main(java.lang.String[])">main</A></B>(java.lang.String[] argv)</CODE><BR> Main method for testing this class.</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/filters/DiscretizeFilter.html#makeBinaryTipText()">makeBinaryTipText</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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#setAttributeIndices(java.lang.String)">setAttributeIndices</A></B>(java.lang.String rangeList)</CODE><BR> Sets which attributes are to be Discretized (only numeric attributes among the selection will be Discretized).</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/filters/DiscretizeFilter.html#setAttributeIndicesArray(int[])">setAttributeIndicesArray</A></B>(int[] attributes)</CODE><BR> Sets which attributes are to be Discretized (only numeric attributes among the selection will be Discretized).</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/filters/DiscretizeFilter.html#setBins(int)">setBins</A></B>(int numBins)</CODE><BR> Sets the number of bins to divide each selected numeric attribute into</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/filters/DiscretizeFilter.html#setFindNumBins(boolean)">setFindNumBins</A></B>(boolean newFindNumBins)</CODE><BR> Set the value of FindNumBins.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#setInputFormat(weka.core.Instances)">setInputFormat</A></B>(<A HREF="../../weka/core/Instances.html">Instances</A> instanceInfo)</CODE><BR> Sets the format of the input 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/filters/DiscretizeFilter.html#setInvertSelection(boolean)">setInvertSelection</A></B>(boolean invert)</CODE><BR> Sets whether selected columns should be removed or kept.</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/filters/DiscretizeFilter.html#setMakeBinary(boolean)">setMakeBinary</A></B>(boolean makeBinary)</CODE><BR> Sets whether binary attributes should be made for discretized ones.</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/filters/DiscretizeFilter.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[] options)</CODE><BR> Parses the options for this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/filters/DiscretizeFilter.html#setOutputFormat()">setOutputFormat</A></B>()</CODE><BR> Set the output format.</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/filters/DiscretizeFilter.html#setUseBetterEncoding(boolean)">setUseBetterEncoding</A></B>(boolean useBetterEncoding)</CODE><BR> Sets whether better encoding is to be used for MDL.</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/filters/DiscretizeFilter.html#setUseKononenko(boolean)">setUseKononenko</A></B>(boolean useKon)</CODE><BR> Sets whether Kononenko's MDL criterion is to be used.</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/filters/DiscretizeFilter.html#setUseMDL(boolean)">setUseMDL</A></B>(boolean useMDL)</CODE><BR> Sets whether MDL will be used as the discretisation 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/filters/DiscretizeFilter.html#useBetterEncodingTipText()">useBetterEncodingTipText</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/filters/DiscretizeFilter.html#useKononenkoTipText()">useKononenkoTipText</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/filters/DiscretizeFilter.html#useMDLTipText()">useMDLTipText</A></B>()</CODE><BR> Returns the tip text for this property</TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.filters.Filter"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class weka.filters.<A HREF="../../weka/filters/Filter.html">Filter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../weka/filters/Filter.html#batchFilterFile(weka.filters.Filter, java.lang.String[])">batchFilterFile</A>, <A HREF="../../weka/filters/Filter.html#bufferInput(weka.core.Instance)">bufferInput</A>, <A HREF="../../weka/filters/Filter.html#copyStringValues(weka.core.Instance, boolean, weka.core.Instances, weka.core.Instances)">copyStringValues</A>, <A HREF="../../weka/filters/Filter.html#copyStringValues(weka.core.Instance, boolean, weka.core.Instances, int[], weka.core.Instances, int[])">copyStringValues</A>, <A HREF="../../weka/filters/Filter.html#filterFile(weka.filters.Filter, java.lang.String[])">filterFile</A>, <A HREF="../../weka/filters/Filter.html#flushInput()">flushInput</A>, <A HREF="../../weka/filters/Filter.html#getInputFormat()">getInputFormat</A>, <A HREF="../../weka/filters/Filter.html#getInputStringIndex()">getInputStringIndex</A>, <A HREF="../../weka/filters/Filter.html#getOutputFormat()">getOutputFormat</A>, <A HREF="../../weka/filters/Filter.html#getOutputStringIndex()">getOutputStringIndex</A>, <A HREF="../../weka/filters/Filter.html#getStringIndices(weka.core.Instances)">getStringIndices</A>, <A HREF="../../weka/filters/Filter.html#inputFormat(weka.core.Instances)">inputFormat</A>, <A HREF="../../weka/filters/Filter.html#isOutputFormatDefined()">isOutputFormatDefined</A>, <A HREF="../../weka/filters/Filter.html#numPendingOutput()">numPendingOutput</A>, <A HREF="../../weka/filters/Filter.html#output()">output</A>, <A HREF="../../weka/filters/Filter.html#outputFormat()">outputFormat</A>, <A HREF="../../weka/filters/Filter.html#outputFormatPeek()">outputFormatPeek</A>, <A HREF="../../weka/filters/Filter.html#outputPeek()">outputPeek</A>, <A HREF="../../weka/filters/Filter.html#push(weka.core.Instance)">push</A>, <A HREF="../../weka/filters/Filter.html#resetQueue()">resetQueue</A>, <A HREF="../../weka/filters/Filter.html#setOutputFormat(weka.core.Instances)">setOutputFormat</A>, <A HREF="../../weka/filters/Filter.html#useFilter(weka.core.Instances, weka.filters.Filter)">useFilter</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="m_DiscretizeCols"><!-- --></A><H3>m_DiscretizeCols</H3><PRE>protected <A HREF="../../weka/core/Range.html">Range</A> <B>m_DiscretizeCols</B></PRE><DL><DD>Stores which columns to Discretize</DL><HR><A NAME="m_NumBins"><!-- --></A><H3>m_NumBins</H3><PRE>protected int <B>m_NumBins</B></PRE><DL><DD>The number of bins to divide the attribute into</DL><HR><A NAME="m_CutPoints"><!-- --></A><H3>m_CutPoints</H3><PRE>protected double[][] <B>m_CutPoints</B></PRE><DL><DD>Store the current cutpoints</DL><HR><A NAME="m_UseMDL"><!-- --></A><H3>m_UseMDL</H3><PRE>protected boolean <B>m_UseMDL</B></PRE><DL><DD>True if discretisation will be done by MDL rather than binning</DL><HR><A NAME="m_MakeBinary"><!-- --></A><H3>m_MakeBinary</H3><PRE>protected boolean <B>m_MakeBinary</B></PRE><DL><DD>Output binary attributes for discretized attributes.</DL><HR><A NAME="m_UseBetterEncoding"><!-- --></A><H3>m_UseBetterEncoding</H3><PRE>protected boolean <B>m_UseBetterEncoding</B></PRE><DL><DD>Use better encoding of split point for MDL.</DL><HR><A NAME="m_UseKononenko"><!-- --></A><H3>m_UseKononenko</H3><PRE>protected boolean <B>m_UseKononenko</B></PRE><DL><DD>Use Kononenko's MDL criterion instead of Fayyad et al.'s</DL><HR><A NAME="m_FindNumBins"><!-- --></A><H3>m_FindNumBins</H3><PRE>protected boolean <B>m_FindNumBins</B></PRE><DL><DD>Find the number of bins using cross-validated entropy.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="DiscretizeFilter()"><!-- --></A><H3>DiscretizeFilter</H3><PRE>public <B>DiscretizeFilter</B>()</PRE><DL><DD>Constructor - initialises the filter</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -