class_docstr: Class providing the core functionality of a parameter, aka
  value, internal/model parameters, mutation, recombination
  and additional features such as shared random state,
  constraint check, hashes, generation and naming.
  The value field should sent to the function to optimize.
  
  Example
  -------
  >>> ng.p.Array(shape=(2,)).value
  array([0., 0.])
docstr: Updates the value of the provided reference (or self) using the standardized data.
  
  Parameters
  ----------
  np.ndarray
      the representation of the value in the optimization space
  reference: Parameter
      the reference point for representing the data ("self", if not provided)
  
  Returns
  -------
  Parameter
      self (modified)
  
  Note
  ----
  To make the code more explicit, the "reference" is enforced
  as keyword-only parameters.
docstr_tok: ["Updates","the","value","of","the","provided","reference","(","or","self",")","using","the","standardized","data",".","Parameters","--","--","--","--","--","np.ndarray","the","representation","of","the","value","in","the","optimization","space","reference",":","Parameter","the","reference","point","for","representing","the","data","(","``","self","''",",","if","not","provided",")","Returns","--","--","--","-","Parameter","self","(","modified",")","Note","--","--","To","make","the","code","more","explicit",",","the","``","reference","''","is","enforced","as","keyword-only","parameters","."]
code: def set_standardized_data(
      self: P, data: tp.ArrayLike, *, reference: tp.Optional[P] = None
  ) -> P:
      """Updates the value of the provided reference (or self) using the standardized data.
  
      Parameters
      ----------
      np.ndarray
          the representation of the value in the optimization space
      reference: Parameter
          the reference point for representing the data ("self", if not provided)
  
      Returns
      -------
      Parameter
          self (modified)
  
      Note
      ----
      To make the code more explicit, the "reference" is enforced
      as keyword-only parameters.
      """
      sent_reference = self if reference is None else reference
      assert isinstance(
          sent_reference, self.__class__
      ), f"Expected {type(self)} but got {type(sent_reference)} as reference"
      self._check_frozen()
      del self.value  # remove all cached information
      self._internal_set_standardized_data(
          np.array(data, copy=False), reference=sent_reference
      )
      return self
  
imports: import uuid
  import warnings
  import numpy
  import nevergrad.common.typing
  from nevergrad.common import errors
  from .None import utils
  from ._layering import ValueProperty
  from ._layering import Layered
  from ._layering import Level
label_desc: Use image node_id 12 for calling the Parameter obj's underlying member method code with example usage: obj.set_standardized_data(data) and returns: self