📄 makedensitybasedclusterer.html
字号:
<CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/clusterers/MakeDensityBasedClusterer.html#minStdDevTipText()">minStdDevTipText</A></B>()</CODE><BR> Returns the tip text for this property</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/clusterers/MakeDensityBasedClusterer.html#numberOfClusters()">numberOfClusters</A></B>()</CODE><BR> Returns the number of clusters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/clusterers/MakeDensityBasedClusterer.html#setClusterer(weka.clusterers.Clusterer)">setClusterer</A></B>(<A HREF="../../weka/clusterers/Clusterer.html" title="class in weka.clusterers">Clusterer</A> toWrap)</CODE><BR> Sets the clusterer to wrap.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/clusterers/MakeDensityBasedClusterer.html#setMinStdDev(double)">setMinStdDev</A></B>(double m)</CODE><BR> Set the minimum value for standard deviation when calculating normal density.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/clusterers/MakeDensityBasedClusterer.html#setNumClusters(int)">setNumClusters</A></B>(int n)</CODE><BR> Set the number of clusters to generate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/clusterers/MakeDensityBasedClusterer.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[] options)</CODE><BR> Parses a given list of options.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/clusterers/MakeDensityBasedClusterer.html#toString()">toString</A></B>()</CODE><BR> Returns a description of the clusterer.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.clusterers.DensityBasedClusterer"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class weka.clusterers.<A HREF="../../weka/clusterers/DensityBasedClusterer.html" title="class in weka.clusterers">DensityBasedClusterer</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../weka/clusterers/DensityBasedClusterer.html#distributionForInstance(weka.core.Instance)">distributionForInstance</A>, <A HREF="../../weka/clusterers/DensityBasedClusterer.html#logDensityForInstance(weka.core.Instance)">logDensityForInstance</A>, <A HREF="../../weka/clusterers/DensityBasedClusterer.html#logJointDensitiesForInstance(weka.core.Instance)">logJointDensitiesForInstance</A>, <A HREF="../../weka/clusterers/DensityBasedClusterer.html#makeCopies(weka.clusterers.DensityBasedClusterer, int)">makeCopies</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.clusterers.Clusterer"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class weka.clusterers.<A HREF="../../weka/clusterers/Clusterer.html" title="class in weka.clusterers">Clusterer</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../weka/clusterers/Clusterer.html#clusterInstance(weka.core.Instance)">clusterInstance</A>, <A HREF="../../weka/clusterers/Clusterer.html#forName(java.lang.String, java.lang.String[])">forName</A>, <A HREF="../../weka/clusterers/Clusterer.html#makeCopies(weka.clusterers.Clusterer, int)">makeCopies</A>, <A HREF="../../weka/clusterers/Clusterer.html#makeCopy(weka.clusterers.Clusterer)">makeCopy</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="MakeDensityBasedClusterer()"><!-- --></A><H3>MakeDensityBasedClusterer</H3><PRE>public <B>MakeDensityBasedClusterer</B>()</PRE><DL><DD>Default constructor.<P></DL><HR><A NAME="MakeDensityBasedClusterer(weka.clusterers.Clusterer)"><!-- --></A><H3>MakeDensityBasedClusterer</H3><PRE>public <B>MakeDensityBasedClusterer</B>(<A HREF="../../weka/clusterers/Clusterer.html" title="class in weka.clusterers">Clusterer</A> toWrap)</PRE><DL><DD>Contructs a MakeDensityBasedClusterer wrapping a given Clusterer.<P><DL><DT><B>Parameters:</B><DD><CODE>toWrap</CODE> - the clusterer to wrap around</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="globalInfo()"><!-- --></A><H3>globalInfo</H3><PRE>public java.lang.String <B>globalInfo</B>()</PRE><DL><DD>Returns a string describing classifier<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a description suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="setNumClusters(int)"><!-- --></A><H3>setNumClusters</H3><PRE>public void <B>setNumClusters</B>(int n) throws java.lang.Exception</PRE><DL><DD>Set the number of clusters to generate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/clusterers/NumberOfClustersRequestable.html#setNumClusters(int)">setNumClusters</A></CODE> in interface <CODE><A HREF="../../weka/clusterers/NumberOfClustersRequestable.html" title="interface in weka.clusterers">NumberOfClustersRequestable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - the number of clusters to generate<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the wrapped clusterer has not been set, or if the wrapped clusterer does not implement this facility.</DL></DD></DL><HR><A NAME="getCapabilities()"><!-- --></A><H3>getCapabilities</H3><PRE>public <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> <B>getCapabilities</B>()</PRE><DL><DD>Returns default capabilities of the clusterer (i.e., of the wrapper clusterer).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/CapabilitiesHandler.html#getCapabilities()">getCapabilities</A></CODE> in interface <CODE><A HREF="../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../weka/clusterers/Clusterer.html#getCapabilities()">getCapabilities</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 capabilities of this clusterer<DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html" title="class in weka.core"><CODE>Capabilities</CODE></A></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> data) throws java.lang.Exception</PRE><DL><DD>Builds a clusterer for a set of instances.<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> - the instances to train the clusterer with<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the clusterer hasn't been set or something goes wrong</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 cluster priors</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> 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>an array containing the estimated densities<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the density could not be computed successfully</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -