code: def node_reset(self, start, end, weighted_n_node_samples):
      self.start = start
      self.end = end
      self.criterion.init(
          self.y,
          self.sample_weight,
          self.weighted_n_samples,
          self.samples,
          start,
          end,
      )
      weighted_n_node_samples = self.criterion.weighted_n_node_samples
      return 0, weighted_n_node_samples
  
imports: import ivy
label_desc: Use image node_id 3 for calling the Splitter obj's underlying member method code with example usage: obj.node_reset(start, end, weighted_n_node_samples) and returns: int,  weighted_n_node_samples