docstr: Computes roots (qmin and qmax) of the score function (for the given records)
docstr_tok: ["Computes","roots","(","qmin","and","qmax",")","of","the","score","function","(","for","the","given","records",")"]
code: def compute_qs(
      self, observed_sum: float, expectations: np.array, penalty: float
  ):
      """
      Computes roots (qmin and qmax) of the score function (for the given records)
      """
      raise NotImplementedError
  
imports: import numpy
label_desc: Use image node_id 6 for calling the ScoringFunction obj's underlying member method code with example usage: obj.compute_qs(observed_sum, expectations, penalty) without return types