Unverified Commit 2b869ab7 authored by Suzukazole's avatar Suzukazole
Browse files

update doc

parent b52516bd
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -426,4 +426,17 @@ class DummyFeaturizer(Featurizer):
  """Abstract class for plain featurization."""

  def featurize(self, datapoints: Iterable[Any]) -> np.ndarray:
    """Passes through dataset, and returns the datapoint.
    
    Parameters
    ----
    datapoints: Iterable[Any]
      A sequence of objects that you'd like to featurize.
    
    Returns
    ----
    datapoints: np.ndarray
      A numpy array containing a featurized representation of
      the datapoints.
    """
    return np.asarray(datapoints)
 No newline at end of file