class_docstr: Perceptron function
  
  Parameters
  ----------
  x: np.ndarray
      the input data
  y: np.ndarray
      the data to predict from the input data
code: def __init__(self, x: np.ndarray, y: np.ndarray) -> None:
      assert x.ndim == 1
      assert y.ndim == 1
      self._x = x
      self._y = y
      super().__init__(self._compute_loss, p.Array(shape=(10,)))
  
imports: import numpy
  import pandas
  import scipy.spatial
  from nevergrad.parametrization import parameter
  import nevergrad.common.typing
  from ..base import ExperimentFunction
  from .None import datasets
label_desc: Use image node_id 1 to create a new Perceptron object from inherited base classes: ExperimentFunction with example: obj = Perceptron(x, y)