📄 datagenerator.html
字号:
</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="relationNameTipText()"><!-- --></A><H3>relationNameTipText</H3><PRE>public java.lang.String <B>relationNameTipText</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="setOutput(java.io.PrintWriter)"><!-- --></A><H3>setOutput</H3><PRE>public void <B>setOutput</B>(java.io.PrintWriter 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="defaultOutput()"><!-- --></A><H3>defaultOutput</H3><PRE>public java.io.StringWriter <B>defaultOutput</B>()</PRE><DL><DD>Gets the string writer, which is used for outputting to stdout. A workaround for the problem of closing stdout when closing the associated Printwriter.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>print string writer object</DL></DD></DL><HR><A NAME="outputTipText()"><!-- --></A><H3>outputTipText</H3><PRE>public java.lang.String <B>outputTipText</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="setDatasetFormat(weka.core.Instances)"><!-- --></A><H3>setDatasetFormat</H3><PRE>public void <B>setDatasetFormat</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> newFormat)</PRE><DL><DD>Sets the format of the dataset that is to be generated.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newFormat</CODE> - the new dataset format of the dataset</DL></DD></DL><HR><A NAME="getDatasetFormat()"><!-- --></A><H3>getDatasetFormat</H3><PRE>public <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> <B>getDatasetFormat</B>()</PRE><DL><DD>Gets the format of the dataset that is to be generated.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the dataset format of the dataset</DL></DD></DL><HR><A NAME="formatTipText()"><!-- --></A><H3>formatTipText</H3><PRE>public java.lang.String <B>formatTipText</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="getSeed()"><!-- --></A><H3>getSeed</H3><PRE>public int <B>getSeed</B>()</PRE><DL><DD>Gets the random number seed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/Randomizable.html#getSeed()">getSeed</A></CODE> in interface <CODE><A HREF="../../weka/core/Randomizable.html" title="interface in weka.core">Randomizable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the random number seed.</DL></DD></DL><HR><A NAME="setSeed(int)"><!-- --></A><H3>setSeed</H3><PRE>public void <B>setSeed</B>(int newSeed)</PRE><DL><DD>Sets the random number seed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/Randomizable.html#setSeed(int)">setSeed</A></CODE> in interface <CODE><A HREF="../../weka/core/Randomizable.html" title="interface in weka.core">Randomizable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newSeed</CODE> - the new random number seed.</DL></DD></DL><HR><A NAME="seedTipText()"><!-- --></A><H3>seedTipText</H3><PRE>public java.lang.String <B>seedTipText</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="getRandom()"><!-- --></A><H3>getRandom</H3><PRE>public java.util.Random <B>getRandom</B>()</PRE><DL><DD>Gets the random generator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the random generator</DL></DD></DL><HR><A NAME="setRandom(java.util.Random)"><!-- --></A><H3>setRandom</H3><PRE>public void <B>setRandom</B>(java.util.Random newRandom)</PRE><DL><DD>Sets the random generator.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newRandom</CODE> - is the random generator.</DL></DD></DL><HR><A NAME="randomTipText()"><!-- --></A><H3>randomTipText</H3><PRE>public java.lang.String <B>randomTipText</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="makeData(weka.datagenerators.DataGenerator, java.lang.String[])"><!-- --></A><H3>makeData</H3><PRE>public static void <B>makeData</B>(<A HREF="../../weka/datagenerators/DataGenerator.html" title="class in weka.datagenerators">DataGenerator</A> generator, java.lang.String[] 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>generator</CODE> - one of the data generators<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=2 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../weka/datagenerators/ClusterGenerator.html" title="class in weka.datagenerators"><B>PREV CLASS</B></A> <A HREF="../../weka/datagenerators/RegressionGenerator.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?weka/datagenerators/DataGenerator.html" target="_top"><B>FRAMES</B></A> <A HREF="DataGenerator.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -