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

📄 kddatagenerator.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="KDDataGenerator()"><!-- --></A><H3>KDDataGenerator</H3><PRE>public <B>KDDataGenerator</B>()</PRE><DL></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="buildGenerator(weka.core.Instances)"><!-- --></A><H3>buildGenerator</H3><PRE>public void <B>buildGenerator</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;inputInstances)                    throws java.lang.Exception</PRE><DL><DD>Initialize the generator using the supplied instances<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html#buildGenerator(weka.core.Instances)">buildGenerator</A></CODE> in interface <CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>inputInstances</CODE> - the instances to use as the basis of the kernels<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="getWeights()"><!-- --></A><H3>getWeights</H3><PRE>public double[] <B>getWeights</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A></CODE></B></DD><DD>Get weights<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html#getWeights()">getWeights</A></CODE> in interface <CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="generateInstances(int[])"><!-- --></A><H3>generateInstances</H3><PRE>public double[][] <B>generateInstances</B>(int[]&nbsp;indices)                             throws java.lang.Exception</PRE><DL><DD>Generates a new instance using one kernel estimator. Each successive call to this method incremets the index of the kernel to use.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html#generateInstances(int[])">generateInstances</A></CODE> in interface <CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the new random instance<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="setWeightingDimensions(boolean[])"><!-- --></A><H3>setWeightingDimensions</H3><PRE>public void <B>setWeightingDimensions</B>(boolean[]&nbsp;dims)</PRE><DL><DD>Set which dimensions to use when computing a weight for the next instance to generate<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html#setWeightingDimensions(boolean[])">setWeightingDimensions</A></CODE> in interface <CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dims</CODE> - an array of booleans indicating which dimensions to use</DL></DD></DL><HR><A NAME="setWeightingValues(double[])"><!-- --></A><H3>setWeightingValues</H3><PRE>public void <B>setWeightingValues</B>(double[]&nbsp;vals)</PRE><DL><DD>Set the values for the weighting dimensions to be used when computing the weight for the next instance to be generated<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html#setWeightingValues(double[])">setWeightingValues</A></CODE> in interface <CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>vals</CODE> - an array of doubles containing the values of the weighting dimensions (corresponding to the entries that are set to true throw setWeightingDimensions)</DL></DD></DL><HR><A NAME="getNumGeneratingModels()"><!-- --></A><H3>getNumGeneratingModels</H3><PRE>public int <B>getNumGeneratingModels</B>()</PRE><DL><DD>Return the number of kernels (there is one per training instance)<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html#getNumGeneratingModels()">getNumGeneratingModels</A></CODE> in interface <CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of kernels</DL></DD></DL><HR><A NAME="setKernelBandwidth(int)"><!-- --></A><H3>setKernelBandwidth</H3><PRE>public void <B>setKernelBandwidth</B>(int&nbsp;kb)</PRE><DL><DD>Set the kernel bandwidth (number of nearest neighbours to cover)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>kb</CODE> - an <code>int</code> value</DL></DD></DL><HR><A NAME="getKernelBandwidth()"><!-- --></A><H3>getKernelBandwidth</H3><PRE>public int <B>getKernelBandwidth</B>()</PRE><DL><DD>Get the kernel bandwidth<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>int</code> value</DL></DD></DL><HR><A NAME="setSeed(int)"><!-- --></A><H3>setSeed</H3><PRE>public void <B>setSeed</B>(int&nbsp;seed)</PRE><DL><DD>Initializes a new random number generator using the supplied seed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html#setSeed(int)">setSeed</A></CODE> in interface <CODE><A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>seed</CODE> - an <code>int</code> value</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=3 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="../../../../Tutorial.pdf"><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/index.html"><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/gui/boundaryvisualizer/BoundaryVisualizer.html" title="class in weka.gui.boundaryvisualizer"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/gui/boundaryvisualizer/RemoteBoundaryVisualizerSubTask.html" title="class in weka.gui.boundaryvisualizer"><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="KDDataGenerator.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 + -