capabilities.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,598 行 · 第 1/5 页

HTML
1,598
字号
</TR></TABLE><A NAME="Capabilities(weka.core.CapabilitiesHandler)"><!-- --></A><H3>Capabilities</H3><PRE>public <B>Capabilities</B>(<A HREF="../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A>&nbsp;owner)</PRE><DL><DD>initializes the capabilities for the given owner<P><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the object that produced this Capabilities instance</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="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Creates and returns a copy of this object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a clone of this object</DL></DD></DL><HR><A NAME="assign(weka.core.Capabilities)"><!-- --></A><H3>assign</H3><PRE>public void <B>assign</B>(<A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A>&nbsp;c)</PRE><DL><DD>retrieves the data from the given Capabilities object<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capabilities object to initialize with</DL></DD></DL><HR><A NAME="and(weka.core.Capabilities)"><!-- --></A><H3>and</H3><PRE>public void <B>and</B>(<A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A>&nbsp;c)</PRE><DL><DD>performs an AND conjunction with the capabilities of the given  Capabilities object and updates itself<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capabilities to AND with</DL></DD></DL><HR><A NAME="or(weka.core.Capabilities)"><!-- --></A><H3>or</H3><PRE>public void <B>or</B>(<A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A>&nbsp;c)</PRE><DL><DD>performs an OR conjunction with the capabilities of the given  Capabilities object and updates itself<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capabilities to OR with</DL></DD></DL><HR><A NAME="supports(weka.core.Capabilities)"><!-- --></A><H3>supports</H3><PRE>public boolean <B>supports</B>(<A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A>&nbsp;c)</PRE><DL><DD>Returns true if the currently set capabilities support at least all of the capabiliites of the given Capabilities object (checks only the enum!)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capabilities to support at least<DT><B>Returns:</B><DD>true if all the requested capabilities are supported</DL></DD></DL><HR><A NAME="supportsMaybe(weka.core.Capabilities)"><!-- --></A><H3>supportsMaybe</H3><PRE>public boolean <B>supportsMaybe</B>(<A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A>&nbsp;c)</PRE><DL><DD>Returns true if the currently set capabilities support (or have a  dependency) at least all of the capabilities of the given Capabilities  object (checks only the enum!)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capabilities (or dependencies) to support at least<DT><B>Returns:</B><DD>true if all the requested capabilities are supported (or at                 least have a dependency)</DL></DD></DL><HR><A NAME="setOwner(weka.core.CapabilitiesHandler)"><!-- --></A><H3>setOwner</H3><PRE>public void <B>setOwner</B>(<A HREF="../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A>&nbsp;value)</PRE><DL><DD>sets the owner of this capabilities object<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new owner</DL></DD></DL><HR><A NAME="getOwner()"><!-- --></A><H3>getOwner</H3><PRE>public <A HREF="../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A> <B>getOwner</B>()</PRE><DL><DD>returns the owner of this capabilities object<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current owner of this capabilites object</DL></DD></DL><HR><A NAME="setMinimumNumberInstances(int)"><!-- --></A><H3>setMinimumNumberInstances</H3><PRE>public void <B>setMinimumNumberInstances</B>(int&nbsp;value)</PRE><DL><DD>sets the minimum number of instances that have to be in the dataset<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the minimum number of instances</DL></DD></DL><HR><A NAME="getMinimumNumberInstances()"><!-- --></A><H3>getMinimumNumberInstances</H3><PRE>public int <B>getMinimumNumberInstances</B>()</PRE><DL><DD>returns the minimum number of instances that have to be in the dataset<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the minimum number of instances</DL></DD></DL><HR><A NAME="capabilities()"><!-- --></A><H3>capabilities</H3><PRE>public java.util.Iterator <B>capabilities</B>()</PRE><DL><DD>Returns an Iterator over the stored capabilities<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>iterator over the current capabilities</DL></DD></DL><HR><A NAME="dependencies()"><!-- --></A><H3>dependencies</H3><PRE>public java.util.Iterator <B>dependencies</B>()</PRE><DL><DD>Returns an Iterator over the stored dependencies<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>iterator over the current dependencies</DL></DD></DL><HR><A NAME="enable(weka.core.Capabilities.Capability)"><!-- --></A><H3>enable</H3><PRE>public void <B>enable</B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A>&nbsp;c)</PRE><DL><DD>enables the given capability.  Enabling NOMINAL_ATTRIBUTES also enables BINARY_ATTRIBUTES,  UNARY_ATTRIBUTES and EMPTY_NOMINAL_ATTRIBUTES.  Enabling BINARY_ATTRIBUTES also enables UNARY_ATTRIBUTES and  EMPTY_NOMINAL_ATTRIBUTES.  Enabling UNARY_ATTRIBUTES also enables EMPTY_NOMINAL_ATTRIBUTES. But NOMINAL_CLASS only enables BINARY_CLASS, since normal schemes in Weka don't work with datasets that have only 1 class label (or none).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capability to enable</DL></DD></DL><HR><A NAME="enableDependency(weka.core.Capabilities.Capability)"><!-- --></A><H3>enableDependency</H3><PRE>public void <B>enableDependency</B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A>&nbsp;c)</PRE><DL><DD>enables the dependency flag for the given capability Enabling NOMINAL_ATTRIBUTES also enables BINARY_ATTRIBUTES,  UNARY_ATTRIBUTES and EMPTY_NOMINAL_ATTRIBUTES.  Enabling BINARY_ATTRIBUTES also enables UNARY_ATTRIBUTES and  EMPTY_NOMINAL_ATTRIBUTES.  Enabling UNARY_ATTRIBUTES also enables EMPTY_NOMINAL_ATTRIBUTES. But NOMINAL_CLASS only enables BINARY_CLASS, since normal schemes in Weka don't work with datasets that have only 1 class label (or none).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capability to enable the dependency flag for</DL></DD></DL><HR><A NAME="enableAllClasses()"><!-- --></A><H3>enableAllClasses</H3><PRE>public void <B>enableAllClasses</B>()</PRE><DL><DD>enables all class types<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#disableAllClasses()"><CODE>disableAllClasses()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#getClassCapabilities()"><CODE>getClassCapabilities()</CODE></A></DL></DD></DL><HR><A NAME="enableAllClassDependencies()"><!-- --></A><H3>enableAllClassDependencies</H3><PRE>public void <B>enableAllClassDependencies</B>()</PRE><DL><DD>enables all class type dependencies<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#disableAllClassDependencies()"><CODE>disableAllClassDependencies()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#getClassCapabilities()"><CODE>getClassCapabilities()</CODE></A></DL></DD></DL><HR><A NAME="enableAllAttributes()"><!-- --></A><H3>enableAllAttributes</H3><PRE>public void <B>enableAllAttributes</B>()</PRE><DL><DD>enables all attribute types<P><DD><DL></DL></DD><DD><DL>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?