Bloom filterã¯æå®ããããã®ããªã¹ãã«å«ã¾ãããªãã°Trueãå«ã¾ããªããªãã°Falseãè¿ããããªãã¼ã¿æ§é ã§ããããã¡ãããåç´ã«ãªã¹ããä¿æããã ãã§ããªã¹ãã«å«ã¾ãããã©ããã®å¤å®ã¯å¯è½ã ããBloom filterã®ã¡ãªããã¯ãªãªã¸ãã«ã®ãªã¹ããä¿åãã¦ããå¿ è¦ããªãã¨ããç¹ã«ããããã®ããã¡ã¢ãªã®æ¶è²»éãæ ¼æ®µã«ç¯ç´ãããã¨ãã§ããããããããã®ã¡ã¢ãªå¹çã®ä»£åã¨ãã¦å¤å°æ£ç¢ºæ§ã失ããããBloom filterã¯æå®ããããã®ããªã¹ãã«ãªãå ´åã§ããã¾ã«Trueãè¿ãã®ã ãããããééã£ã¦Trueãè¿ã確çã¯ãããããè¨ç®ãããã¨ãã§ããã®ã§ã誤差ã許容ã§ããç¯å²ã§ããã°åé¡ãªã使ããã¨ãã§ããã ä¸è¨ã¯ã¢ã«ã´ãªãºã åå¼·ç¨ã®ã·ã³ãã«ãªå®è£ ã§ããã SIZE = 1987 def hashes(s): xs = [0, 0, 0] for c in s: o = or
{{#tags}}- {{label}}
{{/tags}}