public static class ClassifierRunner.EvaluatorThread
extends java.lang.Thread
Constructor and Description |
---|
EvaluatorThread(weka.classifiers.Evaluation ev,
weka.classifiers.AbstractClassifier cls,
weka.core.Instances inst) |
EvaluatorThread(weka.classifiers.Evaluation ev,
weka.classifiers.AbstractClassifier cls,
weka.core.Instances inst,
java.lang.String predictionsFile) |
Modifier and Type | Method and Description |
---|---|
boolean |
completed()
True if the job finished before it was killed hard
|
protected void |
doWork()
Subclasses should do all their work in here
|
java.lang.Exception |
getException()
Gets whatever exception was thrown by this thread
|
protected java.lang.String |
getOpName()
For diagnostics, return a string that says what you were trying to do here
|
void |
run()
The run method of the thread
|
void |
terminate()
Request that a job be stopped
|
boolean |
terminated()
Checks to see if the job was killed hard
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public EvaluatorThread(weka.classifiers.Evaluation ev, weka.classifiers.AbstractClassifier cls, weka.core.Instances inst)
public EvaluatorThread(weka.classifiers.Evaluation ev, weka.classifiers.AbstractClassifier cls, weka.core.Instances inst, java.lang.String predictionsFile)
protected void doWork() throws java.lang.Exception
java.lang.Exception
protected java.lang.String getOpName()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.lang.Exception getException()
public boolean completed()
public void terminate()
public boolean terminated()