docstr: Computes the first derivative of the score function multiplied by the given q
docstr_tok: ["Computes","the","first","derivative","of","the","score","function","multiplied","by","the","given","q"]
code: def q_dscore(
      self, observed_sum: float, expectations: np.array, q: float
  ):
      """
      Computes the first derivative of the score function multiplied by the given q
      """
      raise NotImplementedError
  
imports: import numpy
label_desc: Use image node_id 4 for calling the ScoringFunction obj's underlying member method code with example usage: obj.q_dscore(observed_sum, expectations, q) without return types