class_docstr: Count-Min Sketch Commands
class_docstr_tok: ["Count-Min","Sketch","Commands"]
docstr: Initialize a Count-Min Sketch `key` to characteristics (`error`, `probability`) specified by user.
  For more information see `CMS.INITBYPROB <https://redis.io/commands/cms.initbyprob>`_.
docstr_tok: ["Initialize","a","Count-Min","Sketch","`","key","`","to","characteristics","(","`","error","`",",","`","probability","`",")","specified","by","user",".","For","more","information","see","`","CMS.INITBYPROB","<","https",":","\/\/redis.io\/commands\/cms.initbyprob",">","`","_","."]
code: def initbyprob(self, key, error, probability):
      """
      Initialize a Count-Min Sketch `key` to characteristics (`error`, `probability`) specified by user.
      For more information see `CMS.INITBYPROB <https://redis.io/commands/cms.initbyprob>`_.
      """  # noqa
      return self.execute_command(
          CMS_INITBYPROB, key, error, probability
      )
  
imports: from redis.client import NEVER_DECODE
  from redis.exceptions import ModuleError
  from redis.utils import HIREDIS_AVAILABLE, deprecated_function
label_desc: Use image node_id 2 for calling the CMSCommands obj's underlying member method code with example usage: obj.initbyprob(key, error, probability) and returns: self