📄 randomrbf.html
字号:
<A NAME="getNumClasses()"><!-- --></A><H3>getNumClasses</H3><PRE>public int <B>getNumClasses</B>()</PRE><DL><DD>Gets the number of classes the dataset should have.<P><DD><DL><DT><B>Returns:</B><DD>the number of classes the dataset should have</DL></DD></DL><HR><A NAME="numClassesTipText()"><!-- --></A><H3>numClassesTipText</H3><PRE>public java.lang.String <B>numClassesTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="getNumCentroids()"><!-- --></A><H3>getNumCentroids</H3><PRE>public int <B>getNumCentroids</B>()</PRE><DL><DD>Gets the number of centroids.<P><DD><DL><DT><B>Returns:</B><DD>the number of centroids.</DL></DD></DL><HR><A NAME="setNumCentroids(int)"><!-- --></A><H3>setNumCentroids</H3><PRE>public void <B>setNumCentroids</B>(int value)</PRE><DL><DD>Sets the number of centroids to use.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the number of centroids to use.</DL></DD></DL><HR><A NAME="numCentroidsTipText()"><!-- --></A><H3>numCentroidsTipText</H3><PRE>public java.lang.String <B>numCentroidsTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="getSingleModeFlag()"><!-- --></A><H3>getSingleModeFlag</H3><PRE>public boolean <B>getSingleModeFlag</B>() throws java.lang.Exception</PRE><DL><DD>Return if single mode is set for the given data generator mode depends on option setting and or generator type.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html#getSingleModeFlag()">getSingleModeFlag</A></CODE> in class <CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html" title="class in weka.datagenerators">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>single mode flag<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if mode is not set yet</DL></DD></DL><HR><A NAME="defineDataFormat()"><!-- --></A><H3>defineDataFormat</H3><PRE>public <A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> <B>defineDataFormat</B>() throws java.lang.Exception</PRE><DL><DD>Initializes the format for the dataset produced. Must be called before the generateExample or generateExamples methods are used. Re-initializes the random number generator with the given seed.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html#defineDataFormat()">defineDataFormat</A></CODE> in class <CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html" title="class in weka.datagenerators">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the format for the dataset<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the generating of the format failed<DT><B>See Also:</B><DD><A HREF="../../../../weka/datagenerators/DataGenerator.html#getSeed()"><CODE>DataGenerator.getSeed()</CODE></A></DL></DD></DL><HR><A NAME="generateExample()"><!-- --></A><H3>generateExample</H3><PRE>public <A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A> <B>generateExample</B>() throws java.lang.Exception</PRE><DL><DD>Generates one example of the dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html#generateExample()">generateExample</A></CODE> in class <CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html" title="class in weka.datagenerators">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the generated example<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the format of the dataset is not yet defined<DD><CODE>java.lang.Exception</CODE> - if the generator only works with generateExamples which means in non single mode</DL></DD></DL><HR><A NAME="generateExamples()"><!-- --></A><H3>generateExamples</H3><PRE>public <A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> <B>generateExamples</B>() throws java.lang.Exception</PRE><DL><DD>Generates all examples of the dataset. Re-initializes the random number generator with the given seed, before generating instances.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html#generateExamples()">generateExamples</A></CODE> in class <CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html" title="class in weka.datagenerators">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the generated dataset<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the format of the dataset is not yet defined<DD><CODE>java.lang.Exception</CODE> - if the generator only works with generateExample, which means in single mode<DT><B>See Also:</B><DD><A HREF="../../../../weka/datagenerators/DataGenerator.html#getSeed()"><CODE>DataGenerator.getSeed()</CODE></A></DL></DD></DL><HR><A NAME="generateStart()"><!-- --></A><H3>generateStart</H3><PRE>public java.lang.String <B>generateStart</B>()</PRE><DL><DD>Generates a comment string that documentates the data generator. By default this string is added at the beginning of the produced output as ARFF file type, next after the options.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html#generateStart()">generateStart</A></CODE> in class <CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html" title="class in weka.datagenerators">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>string contains info about the generated rules</DL></DD></DL><HR><A NAME="generateFinished()"><!-- --></A><H3>generateFinished</H3><PRE>public java.lang.String <B>generateFinished</B>() throws java.lang.Exception</PRE><DL><DD>Generates a comment string that documentats the data generator. By default this string is added at the end of theproduces output as ARFF file type.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html#generateFinished()">generateFinished</A></CODE> in class <CODE><A HREF="../../../../weka/datagenerators/DataGenerator.html" title="class in weka.datagenerators">DataGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>string contains info about the generated rules<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the generating of the documentaion fails</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] args)</PRE><DL><DD>Main method for executing this class.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - should contain arguments for the data producer:</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/classifiers/classification/LED24.html" title="class in weka.datagenerators.classifiers.classification"><B>PREV CLASS</B></A> <A HREF="../../../../weka/datagenerators/classifiers/classification/RDG1.html" title="class in weka.datagenerators.classifiers.classification"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?weka/datagenerators/classifiers/classification/RandomRBF.html" target="_top"><B>FRAMES</B></A> <A HREF="RandomRBF.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 + -