Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1019248 // scorePreciseRecognizer

JavaX fragment (include)

static <A, B> void scorePreciseRecognizer(Best<F1<A, B>> best, F1<A, B> recognizer, LPair<A, B> trainingList) {
  new Scorer scorer;
  for (Pair<A, B> p : trainingList)
    scorer.add(recognizer.get(p.a) == p.b);
  best.putAndPrintIfNewBest(recognizer, scorer!);
}

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: 282 / 322
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019254 - f1_scorePreciseRecognizer