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

📄 em.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DD></DL><HR><A NAME="getNumClusters()"><!-- --></A><H3>getNumClusters</H3><PRE>public int <B>getNumClusters</B>()</PRE><DL><DD>Get the number of clusters<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of clusters.</DL></DD></DL><HR><A NAME="maxIterationsTipText()"><!-- --></A><H3>maxIterationsTipText</H3><PRE>public java.lang.String <B>maxIterationsTipText</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="setMaxIterations(int)"><!-- --></A><H3>setMaxIterations</H3><PRE>public void <B>setMaxIterations</B>(int&nbsp;i)                      throws java.lang.Exception</PRE><DL><DD>Set the maximum number of iterations to perform<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the number of iterations<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if i is less than 1</DL></DD></DL><HR><A NAME="getMaxIterations()"><!-- --></A><H3>getMaxIterations</H3><PRE>public int <B>getMaxIterations</B>()</PRE><DL><DD>Get the maximum number of iterations<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of iterations</DL></DD></DL><HR><A NAME="setDebug(boolean)"><!-- --></A><H3>setDebug</H3><PRE>public void <B>setDebug</B>(boolean&nbsp;v)</PRE><DL><DD>Set debug mode - verbose output<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - true for verbose output</DL></DD></DL><HR><A NAME="getDebug()"><!-- --></A><H3>getDebug</H3><PRE>public boolean <B>getDebug</B>()</PRE><DL><DD>Get debug mode<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if debug mode is set</DL></DD></DL><HR><A NAME="getOptions()"><!-- --></A><H3>getOptions</H3><PRE>public java.lang.String[] <B>getOptions</B>()</PRE><DL><DD>Gets the current settings of EM.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#getOptions()">getOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of strings suitable for passing to setOptions()</DL></DD></DL><HR><A NAME="getClusterModelsNumericAtts()"><!-- --></A><H3>getClusterModelsNumericAtts</H3><PRE>public double[][][] <B>getClusterModelsNumericAtts</B>()</PRE><DL><DD>Return the normal distributions for the cluster models<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>double[][][]</code> value</DL></DD></DL><HR><A NAME="getClusterPriors()"><!-- --></A><H3>getClusterPriors</H3><PRE>public double[] <B>getClusterPriors</B>()</PRE><DL><DD>Return the priors for the clusters<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>double[]</code> value</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Outputs the generated clusters into a string.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="numberOfClusters()"><!-- --></A><H3>numberOfClusters</H3><PRE>public int <B>numberOfClusters</B>()                     throws java.lang.Exception</PRE><DL><DD>Returns the number of clusters.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/clusterers/Clusterer.html#numberOfClusters()">numberOfClusters</A></CODE> in class <CODE><A HREF="../../weka/clusterers/Clusterer.html" title="class in weka.clusterers">Clusterer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of clusters generated for a training dataset.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if number of clusters could not be returned successfully</DL></DD></DL><HR><A NAME="buildClusterer(weka.core.Instances)"><!-- --></A><H3>buildClusterer</H3><PRE>public void <B>buildClusterer</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data)                    throws java.lang.Exception</PRE><DL><DD>Generates a clusterer. Has to initialize all fields of the clusterer that are not being set via options.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/clusterers/Clusterer.html#buildClusterer(weka.core.Instances)">buildClusterer</A></CODE> in class <CODE><A HREF="../../weka/clusterers/Clusterer.html" title="class in weka.clusterers">Clusterer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - set of instances serving as training data<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the clusterer has not been  generated successfully</DL></DD></DL><HR><A NAME="clusterPriors()"><!-- --></A><H3>clusterPriors</H3><PRE>public double[] <B>clusterPriors</B>()</PRE><DL><DD>Returns the cluster priors.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/clusterers/DensityBasedClusterer.html#clusterPriors()">clusterPriors</A></CODE> in class <CODE><A HREF="../../weka/clusterers/DensityBasedClusterer.html" title="class in weka.clusterers">DensityBasedClusterer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the prior probability for each cluster</DL></DD></DL><HR><A NAME="logDensityPerClusterForInstance(weka.core.Instance)"><!-- --></A><H3>logDensityPerClusterForInstance</H3><PRE>public double[] <B>logDensityPerClusterForInstance</B>(<A HREF="../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;inst)                                         throws java.lang.Exception</PRE><DL><DD>Computes the log of the conditional density (per cluster) for a given instance.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/clusterers/DensityBasedClusterer.html#logDensityPerClusterForInstance(weka.core.Instance)">logDensityPerClusterForInstance</A></CODE> in class <CODE><A HREF="../../weka/clusterers/DensityBasedClusterer.html" title="class in weka.clusterers">DensityBasedClusterer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>inst</CODE> - the instance to compute the density for<DT><B>Returns:</B><DD>the density.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the density could not be computed successfully</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.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>argv</CODE> - should contain the following arguments: <p> -t training file [-T test file] [-N number of clusters] [-S random seed]</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/clusterers/DensityBasedClusterer.html" title="class in weka.clusterers"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/clusterers/FarthestFirst.html" title="class in weka.clusterers"><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="EM.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 + -