code: def fit(self, X, y):
      import sklearn.naive_bayes
  
      self.estimator = sklearn.naive_bayes.GaussianNB()
      self.classes_ = np.unique(y.astype(int))
  
      # Fallback for multilabel classification
      if len(y.shape) > 1 and y.shape[1] > 1:
          import sklearn.multiclass
  
          self.estimator = sklearn.multiclass.OneVsRestClassifier(
              self.estimator, n_jobs=1
          )
      self.estimator.fit(X, y)
  
      return self
  
file_path: auto-sklearn/autosklearn/pipeline/components/classification/gaussian_nb.py
imports: from typing import Optional
  import numpy
  from ConfigSpace.configuration_space import ConfigurationSpace
  from autosklearn.askl_typing import FEAT_TYPE_TYPE
  from autosklearn.pipeline.components.base import AutoSklearnClassificationAlgorithm
  from autosklearn.pipeline.constants import DENSE, PREDICTIONS, UNSIGNED_DATA
label_desc: Use image node_id 2 for calling the GaussianNB obj's underlying member method code with example usage: obj.fit(X, y) and returns: self