1 | static <A, B> void scorePreciseRecognizer(Best<F1<A, B>> best, F1<A, B> recognizer, LPair<A, B> trainingList) { |
2 | new Scorer scorer; |
3 | for (Pair<A, B> p : trainingList) |
4 | scorer.add(recognizer.get(p.a) == p.b); |
5 | best.putAndPrintIfNewBest(recognizer, scorer!); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019248 |
Snippet name: | scorePreciseRecognizer |
Eternal ID of this version: | #1019248/2 |
Text MD5: | b50a101cc508d7e6419e042485982500 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-28 16:17:49 |
Source code size: | 269 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 283 / 324 |
Version history: | 1 change(s) |
Referenced in: | [show references] |