capabilities.html

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

HTML
1,598
字号
<DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#disableAllAttributes()"><CODE>disableAllAttributes()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#getAttributeCapabilities()"><CODE>getAttributeCapabilities()</CODE></A></DL></DD></DL><HR><A NAME="enableAllAttributeDependencies()"><!-- --></A><H3>enableAllAttributeDependencies</H3><PRE>public void <B>enableAllAttributeDependencies</B>()</PRE><DL><DD>enables all attribute type dependencies<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#disableAllAttributeDependencies()"><CODE>disableAllAttributeDependencies()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#getAttributeCapabilities()"><CODE>getAttributeCapabilities()</CODE></A></DL></DD></DL><HR><A NAME="disable(weka.core.Capabilities.Capability)"><!-- --></A><H3>disable</H3><PRE>public void <B>disable</B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A>&nbsp;c)</PRE><DL><DD>disables the given capability Disabling NOMINAL_ATTRIBUTES also disables BINARY_ATTRIBUTES,  UNARY_ATTRIBUTES and EMPTY_NOMINAL_ATTRIBUTES.  Disabling BINARY_ATTRIBUTES also disables UNARY_ATTRIBUTES and  EMPTY_NOMINAL_ATTRIBUTES.  Disabling UNARY_ATTRIBUTES also disables EMPTY_NOMINAL_ATTRIBUTES. The same hierarchy applies to the class capabilities.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capability to disable</DL></DD></DL><HR><A NAME="disableDependency(weka.core.Capabilities.Capability)"><!-- --></A><H3>disableDependency</H3><PRE>public void <B>disableDependency</B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A>&nbsp;c)</PRE><DL><DD>disables the dependency of the given capability Disabling NOMINAL_ATTRIBUTES also disables BINARY_ATTRIBUTES,  UNARY_ATTRIBUTES and EMPTY_NOMINAL_ATTRIBUTES.  Disabling BINARY_ATTRIBUTES also disables UNARY_ATTRIBUTES and  EMPTY_NOMINAL_ATTRIBUTES.  Disabling UNARY_ATTRIBUTES also disables EMPTY_NOMINAL_ATTRIBUTES. The same hierarchy applies to the class capabilities.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capability to disable the dependency flag for</DL></DD></DL><HR><A NAME="disableAllClasses()"><!-- --></A><H3>disableAllClasses</H3><PRE>public void <B>disableAllClasses</B>()</PRE><DL><DD>disables all class types<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#enableAllClasses()"><CODE>enableAllClasses()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#getClassCapabilities()"><CODE>getClassCapabilities()</CODE></A></DL></DD></DL><HR><A NAME="disableAllClassDependencies()"><!-- --></A><H3>disableAllClassDependencies</H3><PRE>public void <B>disableAllClassDependencies</B>()</PRE><DL><DD>disables all class type dependencies<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#enableAllClassDependencies()"><CODE>enableAllClassDependencies()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#getClassCapabilities()"><CODE>getClassCapabilities()</CODE></A></DL></DD></DL><HR><A NAME="disableAllAttributes()"><!-- --></A><H3>disableAllAttributes</H3><PRE>public void <B>disableAllAttributes</B>()</PRE><DL><DD>disables all attribute types<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#enableAllAttributes()"><CODE>enableAllAttributes()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#getAttributeCapabilities()"><CODE>getAttributeCapabilities()</CODE></A></DL></DD></DL><HR><A NAME="disableAllAttributeDependencies()"><!-- --></A><H3>disableAllAttributeDependencies</H3><PRE>public void <B>disableAllAttributeDependencies</B>()</PRE><DL><DD>disables all attribute type dependencies<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#enableAllAttributeDependencies()"><CODE>enableAllAttributeDependencies()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#getAttributeCapabilities()"><CODE>getAttributeCapabilities()</CODE></A></DL></DD></DL><HR><A NAME="getClassCapabilities()"><!-- --></A><H3>getClassCapabilities</H3><PRE>public <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> <B>getClassCapabilities</B>()</PRE><DL><DD>returns all class capabilities<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>all capabilities regarding the class<DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#enableAllClasses()"><CODE>enableAllClasses()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#disableAllClasses()"><CODE>disableAllClasses()</CODE></A></DL></DD></DL><HR><A NAME="getAttributeCapabilities()"><!-- --></A><H3>getAttributeCapabilities</H3><PRE>public <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> <B>getAttributeCapabilities</B>()</PRE><DL><DD>returns all attribute capabilities<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>all capabilities regarding attributes<DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#enableAllAttributes()"><CODE>enableAllAttributes()</CODE></A>, <A HREF="../../weka/core/Capabilities.html#disableAllAttributes()"><CODE>disableAllAttributes()</CODE></A></DL></DD></DL><HR><A NAME="getOtherCapabilities()"><!-- --></A><H3>getOtherCapabilities</H3><PRE>public <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> <B>getOtherCapabilities</B>()</PRE><DL><DD>returns all other capabilities, besides class and attribute related ones<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>all other capabilities, besides class and attribute                         related ones</DL></DD></DL><HR><A NAME="handles(weka.core.Capabilities.Capability)"><!-- --></A><H3>handles</H3><PRE>public boolean <B>handles</B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A>&nbsp;c)</PRE><DL><DD>returns true if the classifier handler has the specified capability<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capability to test<DT><B>Returns:</B><DD>true if the classifier handler has the capability</DL></DD></DL><HR><A NAME="hasDependency(weka.core.Capabilities.Capability)"><!-- --></A><H3>hasDependency</H3><PRE>public boolean <B>hasDependency</B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A>&nbsp;c)</PRE><DL><DD>returns true if the classifier handler has a dependency for the specified  capability<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the capability to test<DT><B>Returns:</B><DD>true if the classifier handler has a dependency for the                capability</DL></DD></DL><HR><A NAME="hasDependencies()"><!-- --></A><H3>hasDependencies</H3><PRE>public boolean <B>hasDependencies</B>()</PRE><DL><DD>Checks whether there are any dependencies at all<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if there is at least one dependency for a capability</DL></DD></DL><HR><A NAME="getFailReason()"><!-- --></A><H3>getFailReason</H3><PRE>public java.lang.Exception <B>getFailReason</B>()</PRE><DL><DD>returns the reason why the tests failed, is null if tests succeeded<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the reason why the tests failed</DL></DD></DL><HR><A NAME="test(weka.core.Attribute)"><!-- --></A><H3>test</H3><PRE>public boolean <B>test</B>(<A HREF="../../weka/core/Attribute.html" title="class in weka.core">Attribute</A>&nbsp;att)</PRE><DL><DD>Test the given attribute, whether it can be processed by the handler, given its capabilities. The method assumes that the specified attribute is not the class attribute.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>att</CODE> - the attribute to test<DT><B>Returns:</B><DD>true if all the tests succeeded<DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#test(weka.core.Attribute, boolean)"><CODE>test(Attribute, boolean)</CODE></A></DL></DD></DL><HR><A NAME="test(weka.core.Attribute, boolean)"><!-- --></A><H3>test</H3><PRE>public boolean <B>test</B>(<A HREF="../../weka/core/Attribute.html" title="class in weka.core">Attribute</A>&nbsp;att,                    boolean&nbsp;isClass)</PRE><DL><DD>Test the given attribute, whether it can be processed by the handler, given its capabilities.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>att</CODE> - the attribute to test<DD><CODE>isClass</CODE> - whether this attribute is the class attribute<DT><B>Returns:</B><DD>true if all the tests succeeded<DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#m_AttributeTest"><CODE>m_AttributeTest</CODE></A></DL></DD></DL><HR><A NAME="test(weka.core.Instances)"><!-- --></A><H3>test</H3><PRE>public boolean <B>test</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data)</PRE><DL><DD>Tests the given data, whether it can be processed by the handler, given its capabilities. Classifiers implementing the  <code>MultiInstanceCapabilitiesHandler</code> interface are checked  automatically for their multi-instance Capabilities (if no bags, then only the bag-structure, otherwise only the first bag).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data to test<DT><B>Returns:</B><DD>true if all the tests succeeded<DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html#test(weka.core.Instances, int, int)"><CODE>test(Instances, int, int)</CODE></A></DL></DD></DL><HR><A NAME="test(weka.core.Instances, int, int)"><!-- --></A><H3>test</H3>

⌨️ 快捷键说明

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