/** * prints the specified message to stdout if debug is on and can also dump * the message to a log file. * * @param message the message to print or store in a log file */ public void log(String message) { log(message, false); }
/** * aligns all performances in the space and prints those tables to the log * file. * * @param space the current space to align the performances to * @param performances the performances to align */ public void logPerformances(Space space, Vector<Performance> performances) { int i; for (i = 0; i < m_Metrics.getTags().length; i++) log("\n" + logPerformances(space, performances, m_Metrics.getTags()[i]), true); }
for (i = 0; i < groups.size(); i++) { if (groups.size() > 1) log("\n---> group #" + (i+1)); log("\n---> train best - start"); log(Utils.toCommandLine(m_BestClassifier)); m_Classifier = AbstractClassifier.makeCopy(m_BestClassifier.classifier); m_Classifier.buildClassifier(data); log("\n---> train best - end"); log("\n---> Trace (format: #. folds/performance - setup)"); for (i = 0; i < getTraceSize(); i++) log((i + 1) + ". " + getTraceFolds(i) + "/" + getTraceValue(i) + " - " + getTraceClassifierAsCli(i));