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

📄 clustergenerator.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
ClusterGenerator</H3><PRE>public <B>ClusterGenerator</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="setClassFlag(boolean)"><!-- --></A><H3>setClassFlag</H3><PRE>public void <B>setClassFlag</B>(boolean&nbsp;classFlag)</PRE><DL><DD>Sets the class flag, if class flag is set,  the cluster is listed as class atrribute in an extra attribute.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>classFlag</CODE> - the new class flag</DL></DD></DL><HR><A NAME="getClassFlag()"><!-- --></A><H3>getClassFlag</H3><PRE>public boolean <B>getClassFlag</B>()</PRE><DL><DD>Gets the class flag.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the class flag</DL></DD></DL><HR><A NAME="setDebug(boolean)"><!-- --></A><H3>setDebug</H3><PRE>public void <B>setDebug</B>(boolean&nbsp;debug)</PRE><DL><DD>Sets the debug flag.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>debug</CODE> - the new debug flag</DL></DD></DL><HR><A NAME="getDebug()"><!-- --></A><H3>getDebug</H3><PRE>public boolean <B>getDebug</B>()</PRE><DL><DD>Gets the debug flag.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the debug flag</DL></DD></DL><HR><A NAME="setRelationName(java.lang.String)"><!-- --></A><H3>setRelationName</H3><PRE>public void <B>setRelationName</B>(java.lang.String&nbsp;relationName)</PRE><DL><DD>Sets the relation name the dataset should have.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>relationName</CODE> - the new relation name</DL></DD></DL><HR><A NAME="getRelationName()"><!-- --></A><H3>getRelationName</H3><PRE>public java.lang.String <B>getRelationName</B>()</PRE><DL><DD>Gets the relation name the dataset should have.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the relation name the dataset should have</DL></DD></DL><HR><A NAME="setNumClusters(int)"><!-- --></A><H3>setNumClusters</H3><PRE>public void <B>setNumClusters</B>(int&nbsp;numClusters)</PRE><DL><DD>Sets the number of clusters the dataset should have.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numClusters</CODE> - the new number of clusters</DL></DD></DL><HR><A NAME="getNumClusters()"><!-- --></A><H3>getNumClusters</H3><PRE>public int <B>getNumClusters</B>()</PRE><DL><DD>Gets the number of clusters the dataset should have.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of clusters the dataset should have</DL></DD></DL><HR><A NAME="setNumAttributes(int)"><!-- --></A><H3>setNumAttributes</H3><PRE>public void <B>setNumAttributes</B>(int&nbsp;numAttributes)</PRE><DL><DD>Sets the number of attributes the dataset should have.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numAttributes</CODE> - the new number of attributes</DL></DD></DL><HR><A NAME="getNumAttributes()"><!-- --></A><H3>getNumAttributes</H3><PRE>public int <B>getNumAttributes</B>()</PRE><DL><DD>Gets the number of attributes that should be produced.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of attributes that should be produced</DL></DD></DL><HR><A NAME="setNumExamplesAct(int)"><!-- --></A><H3>setNumExamplesAct</H3><PRE>public void <B>setNumExamplesAct</B>(int&nbsp;numExamplesAct)</PRE><DL><DD>Sets the number of examples the dataset should have.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numExamplesAct</CODE> - the new number of examples</DL></DD></DL><HR><A NAME="getNumExamplesAct()"><!-- --></A><H3>getNumExamplesAct</H3><PRE>public int <B>getNumExamplesAct</B>()</PRE><DL><DD>Gets the number of examples the dataset should have.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of examples the dataset should have</DL></DD></DL><HR><A NAME="setOutput(java.io.PrintWriter)"><!-- --></A><H3>setOutput</H3><PRE>public void <B>setOutput</B>(java.io.PrintWriter&nbsp;newOutput)</PRE><DL><DD>Sets the print writer.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newOutput</CODE> - the new print writer</DL></DD></DL><HR><A NAME="getOutput()"><!-- --></A><H3>getOutput</H3><PRE>public java.io.PrintWriter <B>getOutput</B>()</PRE><DL><DD>Gets the print writer.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>print writer object</DL></DD></DL><HR><A NAME="makeData(weka.datagenerators.ClusterGenerator, java.lang.String[])"><!-- --></A><H3>makeData</H3><PRE>public static void <B>makeData</B>(<A HREF="../../weka/datagenerators/ClusterGenerator.html" title="class in weka.datagenerators">ClusterGenerator</A>&nbsp;generator,                            java.lang.String[]&nbsp;options)                     throws java.lang.Exception</PRE><DL><DD>Calls the data generator.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>options</CODE> - options of the data generator<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if there was an error in the option list</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/datagenerators/BIRCHCluster.html" title="class in weka.datagenerators"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/datagenerators/Generator.html" title="class in weka.datagenerators"><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="ClusterGenerator.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 + -