not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-222 hours agoo(1) statistical prime approximationlemmy.blahaj.zoneimagemessage-square42linkfedilinkarrow-up1710arrow-down15file-text
arrow-up1705arrow-down1imageo(1) statistical prime approximationlemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-222 hours agomessage-square42linkfedilinkfile-text
minus-squareBoomer Humor Doomergod@lemmy.worldlinkfedilinkEnglisharrow-up3·edit-26 hours agoIf you scaled it based on the size of the integer you could get that up to 99.9% test accuracy. Like if it’s less than 10 give it 50% odds of returning false, if it’s under 50 give it 10% odds, otherwise return false.
minus-squareJayjader@jlai.lulinkfedilinkarrow-up2·3 hours agoNow you’re thinking with portals primes!
If you scaled it based on the size of the integer you could get that up to 99.9% test accuracy. Like if it’s less than 10 give it 50% odds of returning false, if it’s under 50 give it 10% odds, otherwise return false.
Now you’re thinking with
portalsprimes!