class_docstr: Our Method: Double Noise Mechanism
docstr: Implementation of the double noise mechanism update rule--full batch
docstr_tok: ["Implementation","of","the","double","noise","mechanism","update","rule","--","full","batch"]
code: def update_rule_stochastic(self, w_cur, lrp, hyper_dict):
      """Implementation of the double noise mechanism update rule--full batch"""
      noisy_grad_cur = self.noisy_grad(w_cur, lrp, hyper_dict, True)
      w_next = self.noisy_direction_stochastic(
          w_cur, lrp, hyper_dict, noisy_grad_cur
      )
      return w_next
  
imports: import time
  from my_logistic_regression import MyLogisticRegression
  import numpy
label_desc: Use image node_id 3 for calling the DoubleNoiseMech obj's underlying member method code with example usage: obj.update_rule_stochastic(w_cur, lrp, hyper_dict) and returns: w_next