-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lili
authored and
lili
committed
Apr 30, 2014
1 parent
7970320
commit d4b01a2
Showing
6 changed files
with
1,333 additions
and
639 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
src/main/java/com/antbrains/crf/PrintTrainingProgress.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.antbrains.crf; | ||
|
||
public class PrintTrainingProgress implements TrainingProgress{ | ||
|
||
@Override | ||
public void startTraining() { | ||
System.out.println(new java.util.Date()+" start training..."); | ||
} | ||
|
||
@Override | ||
public void doIter(int iter) { | ||
System.out.println(new java.util.Date()+" iter "+iter); | ||
} | ||
|
||
@Override | ||
public void finishTraining() { | ||
System.out.println(new java.util.Date()+" finish training."); | ||
} | ||
|
||
@Override | ||
public void doValidate(String s) { | ||
System.out.println("validate result"); | ||
System.out.println(s); | ||
} | ||
|
||
} |
Oops, something went wrong.