class_docstr: Result of `scipy.stats.binomtest`.
  
  Attributes
  ----------
  k : int
      The number of successes (copied from `binomtest` input).
  n : int
      The number of trials (copied from `binomtest` input).
  alternative : str
      Indicates the alternative hypothesis specified in the input
      to `binomtest`.  It will be one of ``'two-sided'``, ``'greater'``,
      or ``'less'``.
  pvalue : float
      The p-value of the hypothesis test.
  proportion_estimate : float
      The estimate of the proportion of successes.
code: def __init__(self, k, n, alternative, pvalue, proportion_estimate):
      self.k = k
      self.n = n
      self.alternative = alternative
      self.proportion_estimate = proportion_estimate
      self.pvalue = pvalue
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/_binomtest.py
imports: from math import sqrt
  import numpy
  from scipy._lib._util import _validate_int
  from scipy.optimize import brentq
  from scipy.special import ndtri
  from ._discrete_distns import binom
  from ._common import ConfidenceInterval
label_desc: Use image node_id 1 to create a new BinomTestResult object  with example: obj = BinomTestResult(k, n, alternative, pvalue, proportion_estimate)