docstr: Abstract fit method.
  
  Parameters
  ----------
  x
      `torch.Tensor` to fit object on.
docstr_tok: ["Abstract","fit","method",".","Parameters","--","--","--","--","--","x","`","torch.Tensor","`","to","fit","object","on","."]
code: def fit(self, x_ref: np.ndarray) -> Self:
      """Abstract fit method.
  
      Parameters
      ----------
      x
          `torch.Tensor` to fit object on.
      """
      return self
  
imports: from typing import List, Union, Optional, Dict
  from dataclasses import dataclass, asdict
  from abc import ABC, abstractmethod
  from typing_extensions import Self
  import numpy
  from alibi_detect.exceptions import NotFittedError, ThresholdNotInferredError
label_desc: Use image node_id 1 for calling the FitMixinSklearn obj's underlying member method code with example usage: obj.fit(x_ref) and returns: self