程序包 weka.core
类 Check
java.lang.Object
weka.core.Check
- 所有已实现的接口:
OptionHandler
,RevisionHandler
- 直接已知子类:
CheckGOE
,CheckOptionHandler
,CheckScheme
Abstract general class for testing in Weka.
- 版本:
- $Revision: 1.2 $
- 作者:
- FracPete (fracpete at waikato dot ac dot nz)
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract void
doTests()
Begin the tests, reporting results to System.outboolean
getDebug()
Get whether debugging is turned onString[]
Gets the current settings of the CheckClassifier.boolean
Get whether silent mode is turned onReturns an enumeration describing the available options.void
setDebug
(boolean debug) Set debugging modevoid
setOptions
(String[] options) Parses a given list of options.void
setSilent
(boolean value) Set slient mode, i.e., no output at all to stdout从接口继承的方法 weka.core.RevisionHandler
getRevision
-
构造器详细资料
-
Check
public Check()
-
-
方法详细资料
-
listOptions
Returns an enumeration describing the available options.- 指定者:
listOptions
在接口中OptionHandler
- 返回:
- an enumeration of all the available options.
-
setOptions
Parses a given list of options.- 指定者:
setOptions
在接口中OptionHandler
- 参数:
options
- the list of options as an array of strings- 抛出:
Exception
- if an option is not supported
-
getOptions
Gets the current settings of the CheckClassifier.- 指定者:
getOptions
在接口中OptionHandler
- 返回:
- an array of strings suitable for passing to setOptions
-
doTests
public abstract void doTests()Begin the tests, reporting results to System.out -
setDebug
public void setDebug(boolean debug) Set debugging mode- 参数:
debug
- true if debug output should be printed
-
getDebug
public boolean getDebug()Get whether debugging is turned on- 返回:
- true if debugging output is on
-
setSilent
public void setSilent(boolean value) Set slient mode, i.e., no output at all to stdout- 参数:
value
- whether silent mode is active or not
-
getSilent
public boolean getSilent()Get whether silent mode is turned on- 返回:
- true if silent mode is on
-