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

9
LINES

< > BotCompany Repo | #1014322 // scoreGuesserIC_verbose - verbosely score a guess function for strings (ignore case); returns 0 to 1

JavaX fragment (include)

1  
static double scoreGuesserIC_verbose(O guesser, SS examples) {
2  
  ret scoreGuesserIC_verbose(str(guesser), guesser, examples);
3  
}
4  
5  
static double scoreGuesserIC_verbose(S name, O guesser, SS examples) {
6  
  double score = scoreGuesserIC_1(guesser, examples);
7  
  print(formatPercent(score) + " (" + n(examples, "example") + "): " + name);
8  
  ret score;
9  
}

Author comment

Began life as a copy of #1011022

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014322
Snippet name: scoreGuesserIC_verbose - verbosely score a guess function for strings (ignore case); returns 0 to 1
Eternal ID of this version: #1014322/2
Text MD5: caec473251f717f15da279ce7e7cf2e9
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 03:06:03
Source code size: 354 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 370 / 397
Version history: 1 change(s)
Referenced in: [show references]