idilhaq / duke

Automatically exported from code.google.com/p/duke
0 stars 1 forks source link

Add MatchListener method for debugging record scores #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would it be possible to add a method in the MatchListener which would be called 
regardless of whether a match has been identified or not. For debugging and 
fine-tuning purposes it would be nice to see what kind of probabilities each 
record scores. It would be even better  if each property showed what 
probability it scored on its own.

Thanks

Original issue reported on code.google.com by ale...@yoxel.com on 13 Jun 2011 at 6:50

GoogleCodeExporter commented 9 years ago
You can get this information with the DebugCompare tool. Try running java 
no.priv.garshol.duke.DebugCompare to get usage instructions. What do you think? 
Is that good enough, or do you still want the extra callback method?

The downside to this callback method is that it's going to be called a *lot*. 
For 10,000 records I would expect around 1 million calls.

Original comment by lar...@gmail.com on 13 Jun 2011 at 12:20

GoogleCodeExporter commented 9 years ago
ok, I'll use the tool for fine-tuning then ...

Original comment by ale...@yoxel.com on 13 Jun 2011 at 5:05

GoogleCodeExporter commented 9 years ago
Goodie.

Original comment by lar...@gmail.com on 15 Jun 2011 at 7:47

GoogleCodeExporter commented 9 years ago
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/Users/alexey/Yoxel/workspace/duke/src/main/java/no/priv/garshol/duke/LinkDataba
seMatchListener.java:[12,7] no.priv.garshol.duke.LinkDatabaseMatchListener is 
not abstract and does not override abstract method 
batchReady(java.util.Collection<no.priv.garshol.duke.Record>) in 
no.priv.garshol.duke.MatchListener
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

Original comment by ale...@yoxel.com on 15 Jun 2011 at 6:39