|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.lang.Thread
|
+--com.huguesjohnson.jail.jdt.JdtApp
class JdtApp
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
JdtApp(java.lang.String namesFile,
java.lang.String trainingFile,
java.lang.String testFile,
java.lang.String logFile,
java.lang.String reportFile)
constructor |
|
| Method Summary | |
void |
done()
override this |
void |
error(java.lang.Exception x)
override this |
double |
getPercentCorrectInitialTreePrune()
returns the percect of correct classifications made on the initial tree for the pruning data set |
double |
getPercentCorrectInitialTreeTest()
returns the percect of correct classifications made on the initial tree for the test data set |
double |
getPercentCorrectInitialTreeTrain()
returns the percect of correct classifications made on the initial tree for the training data set |
double |
getPercentCorrectPrunedTreePrune()
returns the percect of correct classifications made on the pruned tree for the pruning data set |
double |
getPercentCorrectPrunedTreeTest()
returns the percect of correct classifications made on the pruned tree for the test data set |
double |
getPercentCorrectPrunedTreeTrain()
returns the percect of correct classifications made on the pruned tree for the training data set |
void |
loadInitialTree(java.lang.String fileName)
deserialize the initial tree |
void |
loadPrunedTree(java.lang.String fileName)
deserialize the pruned tree |
void |
run()
starts decision tree learn |
void |
saveInitialTree(java.lang.String fileName)
serialize the initial tree |
void |
savePrunedTree(java.lang.String fileName)
serialize the pruned tree |
java.lang.String |
toString()
returns a string representation of the object |
void |
updateStatus(java.lang.String message)
override this |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JdtApp(java.lang.String namesFile,
java.lang.String trainingFile,
java.lang.String testFile,
java.lang.String logFile,
java.lang.String reportFile)
namesFile - path to names filetrainingFile - path to training filetestFile - path to test filelogFile - path to log filereportFile - path to report file| Method Detail |
public void run()
run in class java.lang.Threadpublic double getPercentCorrectInitialTreeTest()
public double getPercentCorrectPrunedTreeTest()
public double getPercentCorrectInitialTreePrune()
public double getPercentCorrectPrunedTreePrune()
public double getPercentCorrectInitialTreeTrain()
public double getPercentCorrectPrunedTreeTrain()
public void updateStatus(java.lang.String message)
message - the message to displaypublic void done()
public void error(java.lang.Exception x)
x - the error that occuredpublic void saveInitialTree(java.lang.String fileName)
fileName - the file to save the tree topublic void savePrunedTree(java.lang.String fileName)
fileName - the file to save the tree topublic void loadInitialTree(java.lang.String fileName)
fileName - the file to read the tree frompublic void loadPrunedTree(java.lang.String fileName)
fileName - the file to read the tree frompublic java.lang.String toString()
toString in class java.lang.Thread
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||