original_docstring:  Discrete mutual information estimator
          Given a list of samples which can be any hashable object
      
docstring: Discrete mutual information estimator
  Given a list of samples which can be any hashable object
docstring_tokens: Discrete mutual information estimator Given a list of samples which can be any hashable object
code: def cmidd(x, y, z, base=2):
      """ Discrete mutual information estimator
          Given a list of samples which can be any hashable object
      """
      assert len(x) == len(y) == len(z), "Arrays should have same length"
      xz = np.c_[x, z]
      yz = np.c_[y, z]
      xyz = np.c_[x, y, z]
      return entropyd(xz, base) + entropyd(yz, base) - entropyd(xyz, base) - entropyd(z, base)
code_tokens: def cmidd ( x , y , z , base = 2 ) : assert len ( x ) == len ( y ) == len ( z ) , "Arrays should have same length" xz = np . c_ [ x , z ] yz = np . c_ [ y , z ] xyz = np . c_ [ x , y , z ] return entropyd ( xz , base ) + entropyd ( yz , base ) - entropyd ( xyz , base ) - entropyd ( z , base )
short_docstring: Discrete mutual information estimator
  Given a list of samples which can be any hashable object
short_docstring_tokens: Discrete mutual information estimator Given a list of samples which can be any hashable object
comment: """ Discrete mutual information estimator
          Given a list of samples which can be any hashable object
      """