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

📄 discretizefilter.html

📁 < 数据挖掘--实用机器学习技术及java实现> 一书结合数据挖掘和机器学习的知识,作者陈述了自动挖掘模式的基础理论,并且以java语言实现了具有代表性的各类数据挖掘方法.例如:class
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DT><B>Returns:</B><DD>true if the better MDL encoding will be used</DL></DD></DL><HR><A NAME="setUseBetterEncoding(boolean)"><!-- --></A><H3>setUseBetterEncoding</H3><PRE>public void <B>setUseBetterEncoding</B>(boolean&nbsp;useBetterEncoding)</PRE><DL><DD>Sets whether better encoding is to be used for MDL.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>useBetterEncoding</CODE> - true if better encoding to be used.</DL></DD></DL><HR><A NAME="binsTipText()"><!-- --></A><H3>binsTipText</H3><PRE>public java.lang.String <B>binsTipText</B>()</PRE><DL><DD>Returns the tip text for this property<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="getBins()"><!-- --></A><H3>getBins</H3><PRE>public int <B>getBins</B>()</PRE><DL><DD>Gets the number of bins numeric attributes will be divided into<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of bins.</DL></DD></DL><HR><A NAME="setBins(int)"><!-- --></A><H3>setBins</H3><PRE>public void <B>setBins</B>(int&nbsp;numBins)</PRE><DL><DD>Sets the number of bins to divide each selected numeric attribute into<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numBins</CODE> - the number of bins</DL></DD></DL><HR><A NAME="invertSelectionTipText()"><!-- --></A><H3>invertSelectionTipText</H3><PRE>public java.lang.String <B>invertSelectionTipText</B>()</PRE><DL><DD>Returns the tip text for this property<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="getInvertSelection()"><!-- --></A><H3>getInvertSelection</H3><PRE>public boolean <B>getInvertSelection</B>()</PRE><DL><DD>Gets whether the supplied columns are to be removed or kept<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the supplied columns will be kept</DL></DD></DL><HR><A NAME="setInvertSelection(boolean)"><!-- --></A><H3>setInvertSelection</H3><PRE>public void <B>setInvertSelection</B>(boolean&nbsp;invert)</PRE><DL><DD>Sets whether selected columns should be removed or kept. If true the  selected columns are kept and unselected columns are deleted. If false selected columns are deleted and unselected columns are kept.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>invert</CODE> - the new invert setting</DL></DD></DL><HR><A NAME="attributeIndicesTipText()"><!-- --></A><H3>attributeIndicesTipText</H3><PRE>public java.lang.String <B>attributeIndicesTipText</B>()</PRE><DL><DD>Returns the tip text for this property<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="getAttributeIndices()"><!-- --></A><H3>getAttributeIndices</H3><PRE>public java.lang.String <B>getAttributeIndices</B>()</PRE><DL><DD>Gets the current range selection<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string containing a comma separated list of ranges</DL></DD></DL><HR><A NAME="setAttributeIndices(java.lang.String)"><!-- --></A><H3>setAttributeIndices</H3><PRE>public void <B>setAttributeIndices</B>(java.lang.String&nbsp;rangeList)</PRE><DL><DD>Sets which attributes are to be Discretized (only numeric attributes among the selection will be Discretized).<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rangeList</CODE> - a string representing the list of attributes. Since the string will typically come from a user, attributes are indexed from 1. <br> eg: first-3,5,6-last<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if an invalid range list is supplied</DL></DD></DL><HR><A NAME="setAttributeIndicesArray(int[])"><!-- --></A><H3>setAttributeIndicesArray</H3><PRE>public void <B>setAttributeIndicesArray</B>(int[]&nbsp;attributes)</PRE><DL><DD>Sets which attributes are to be Discretized (only numeric attributes among the selection will be Discretized).<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributes</CODE> - an array containing indexes of attributes to Discretize. Since the array will typically come from a program, attributes are indexed from 0.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if an invalid set of ranges is supplied</DL></DD></DL><HR><A NAME="getCutPoints(int)"><!-- --></A><H3>getCutPoints</H3><PRE>public double[] <B>getCutPoints</B>(int&nbsp;attributeIndex)</PRE><DL><DD>Gets the cut points for an attribute<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - index (from 0) of the attribute to get the cut points of<DT><B>Returns:</B><DD>an array containing the cutpoints (or null if the attribute requested isn't being Discretized</DL></DD></DL><HR><A NAME="calculateCutPoints()"><!-- --></A><H3>calculateCutPoints</H3><PRE>protected void <B>calculateCutPoints</B>()</PRE><DL><DD>Generate the cutpoints for each attribute<DD><DL></DL></DD></DL><HR><A NAME="calculateCutPointsByMDL(int, weka.core.Instances)"><!-- --></A><H3>calculateCutPointsByMDL</H3><PRE>protected void <B>calculateCutPointsByMDL</B>(int&nbsp;index,                                       <A HREF="../../weka/core/Instances.html">Instances</A>&nbsp;data)</PRE><DL><DD>Set cutpoints for a single attribute using MDL.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the attribute to set cutpoints for</DL></DD></DL><HR><A NAME="calculateCutPointsByBinning(int)"><!-- --></A><H3>calculateCutPointsByBinning</H3><PRE>protected void <B>calculateCutPointsByBinning</B>(int&nbsp;index)</PRE><DL><DD>Set cutpoints for a single attribute.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the attribute to set cutpoints for</DL></DD></DL><HR><A NAME="findNumBins(int)"><!-- --></A><H3>findNumBins</H3><PRE>protected void <B>findNumBins</B>(int&nbsp;index)</PRE><DL><DD>Optimizes the number of bins using leave-one-out cross-validation.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the attribute index</DL></DD></DL><HR><A NAME="setOutputFormat()"><!-- --></A><H3>setOutputFormat</H3><PRE>protected void <B>setOutputFormat</B>()</PRE><DL><DD>Set the output format. Takes the currently defined cutpoints and  m_InputFormat and calls setOutputFormat(Instances) appropriately.<DD><DL></DL></DD></DL><HR><A NAME="convertInstance(weka.core.Instance)"><!-- --></A><H3>convertInstance</H3><PRE>protected void <B>convertInstance</B>(<A HREF="../../weka/core/Instance.html">Instance</A>&nbsp;instance)</PRE><DL><DD>Convert a single instance over. The converted instance is added to  the end of the output queue.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance to convert</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;argv)</PRE><DL><DD>Main method for testing this class.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>argv</CODE> - should contain arguments to the filter: use -h for help</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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>  </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/filters/CopyAttributesFilter.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/filters/EmptyAttributeFilter.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DiscretizeFilter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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