capabilities.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,598 行 · 第 1/5 页
HTML
1,598 行
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#enableAllClassDependencies()">enableAllClassDependencies</A></B>()</CODE><BR> enables all class type dependencies</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/core/Capabilities.html#enableAllClasses()">enableAllClasses</A></B>()</CODE><BR> enables all class types</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/core/Capabilities.html#enableDependency(weka.core.Capabilities.Capability)">enableDependency</A></B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A> c)</CODE><BR> enables the dependency flag for the given capability Enabling NOMINAL_ATTRIBUTES also enables BINARY_ATTRIBUTES, UNARY_ATTRIBUTES and EMPTY_NOMINAL_ATTRIBUTES.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#forInstances(weka.core.Instances)">forInstances</A></B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</CODE><BR> returns a Capabilities object specific for this data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#forInstances(weka.core.Instances, boolean)">forInstances</A></B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> data, boolean multi)</CODE><BR> returns a Capabilities object specific for this data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#getAttributeCapabilities()">getAttributeCapabilities</A></B>()</CODE><BR> returns all attribute capabilities</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#getClassCapabilities()">getClassCapabilities</A></B>()</CODE><BR> returns all class capabilities</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Exception</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#getFailReason()">getFailReason</A></B>()</CODE><BR> returns the reason why the tests failed, is null if tests succeeded</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/core/Capabilities.html#getMinimumNumberInstances()">getMinimumNumberInstances</A></B>()</CODE><BR> returns the minimum number of instances that have to be in the dataset</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#getOtherCapabilities()">getOtherCapabilities</A></B>()</CODE><BR> returns all other capabilities, besides class and attribute related ones</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#getOwner()">getOwner</A></B>()</CODE><BR> returns the owner of this capabilities object</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/core/Capabilities.html#getRevision()">getRevision</A></B>()</CODE><BR> Returns the revision string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#handles(weka.core.Capabilities.Capability)">handles</A></B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A> c)</CODE><BR> returns true if the classifier handler has the specified capability</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#hasDependencies()">hasDependencies</A></B>()</CODE><BR> Checks whether there are any dependencies at all</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#hasDependency(weka.core.Capabilities.Capability)">hasDependency</A></B>(<A HREF="../../weka/core/Capabilities.Capability.html" title="enum in weka.core">Capabilities.Capability</A> c)</CODE><BR> returns true if the classifier handler has a dependency for the specified capability</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE><BR> loads the given dataset and prints the Capabilities necessary to process it.</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/core/Capabilities.html#or(weka.core.Capabilities)">or</A></B>(<A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> c)</CODE><BR> performs an OR conjunction with the capabilities of the given Capabilities object and updates itself</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/core/Capabilities.html#setMinimumNumberInstances(int)">setMinimumNumberInstances</A></B>(int value)</CODE><BR> sets the minimum number of instances that have to be in the dataset</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/core/Capabilities.html#setOwner(weka.core.CapabilitiesHandler)">setOwner</A></B>(<A HREF="../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A> value)</CODE><BR> sets the owner of this capabilities object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#supports(weka.core.Capabilities)">supports</A></B>(<A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> c)</CODE><BR> Returns true if the currently set capabilities support at least all of the capabiliites of the given Capabilities object (checks only the enum!)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#supportsMaybe(weka.core.Capabilities)">supportsMaybe</A></B>(<A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> c)</CODE><BR> 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!)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#test(weka.core.Attribute)">test</A></B>(<A HREF="../../weka/core/Attribute.html" title="class in weka.core">Attribute</A> att)</CODE><BR> Test the given attribute, whether it can be processed by the handler, given its capabilities.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#test(weka.core.Attribute, boolean)">test</A></B>(<A HREF="../../weka/core/Attribute.html" title="class in weka.core">Attribute</A> att, boolean isClass)</CODE><BR> Test the given attribute, whether it can be processed by the handler, given its capabilities.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#test(weka.core.Instances)">test</A></B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</CODE><BR> Tests the given data, whether it can be processed by the handler, given its capabilities.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/core/Capabilities.html#test(weka.core.Instances, int, int)">test</A></B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> data, int fromIndex, int toIndex)</CODE><BR> Tests a certain range of attributes of the given data, whether it can be processed by the handler, given its capabilities.</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/core/Capabilities.html#testWithFail(weka.core.Attribute)">testWithFail</A></B>(<A HREF="../../weka/core/Attribute.html" title="class in weka.core">Attribute</A> att)</CODE><BR> tests the given attribute by calling the test(Attribute,boolean) method and throws an exception if the test fails.</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/core/Capabilities.html#testWithFail(weka.core.Attribute, boolean)">testWithFail</A></B>(<A HREF="../../weka/core/Attribute.html" title="class in weka.core">Attribute</A> att, boolean isClass)</CODE><BR> tests the given attribute by calling the test(Attribute,boolean) method and throws an exception if the test fails.</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/core/Capabilities.html#testWithFail(weka.core.Instances)">testWithFail</A></B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</CODE><BR> tests the given data by calling the test(Instances) method and throws an exception if the test fails.</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/core/Capabilities.html#testWithFail(weka.core.Instances, int, int)">testWithFail</A></B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> data, int fromIndex, int toIndex)</CODE><BR> tests the given data by calling the test(Instances,int,int) method and throws an exception if the test fails.</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/core/Capabilities.html#toSource(java.lang.String)">toSource</A></B>(java.lang.String objectname)</CODE><BR> turns the capabilities object into source code.</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/core/Capabilities.html#toSource(java.lang.String, int)">toSource</A></B>(java.lang.String objectname, int indent)</CODE><BR> turns the capabilities object into source code.</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/core/Capabilities.html#toString()">toString</A></B>()</CODE><BR> returns a string representation of the capabilities</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><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="PROPERTIES_FILE"><!-- --></A><H3>PROPERTIES_FILE</H3><PRE>public static final java.lang.String <B>PROPERTIES_FILE</B></PRE><DL><DD>the properties file for managing the tests<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.core.Capabilities.PROPERTIES_FILE">Constant Field Values</A></DL></DL><!-- ========= 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>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?