Libraryless. Click here for Pure Java version (2471L/16K).
1 | static double threeB1BScore(int pos, int neg) { |
2 | ret doubleRatio(pos+1, pos+neg+2)*100; |
3 | } |
4 | |
5 | ifclass PosNeg |
6 | static double threeB1BScore(PosNeg pn) { |
7 | ret pn == null ? 0 : threeB1BScore(l(pn.pos), l(pn.neg)); |
8 | } |
9 | endif |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027816 |
Snippet name: | threeB1BScore [0-100 score from # of positive and negative examples] |
Eternal ID of this version: | #1027816/5 |
Text MD5: | 951a1854ce1ebb3ccd98df320b55a392 |
Transpilation MD5: | 52b9e38c83e0387f0151d2f58244b320 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-13 20:07:10 |
Source code size: | 223 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 222 / 320 |
Version history: | 4 change(s) |
Referenced in: | [show references] |