code: def predict_probabilities(self, X: np.ndarray) -> np.ndarray:
      if self.auto_gluon_model is None:
          raise RuntimeError("AutoGluon model has not been fitted!")
  
      X = shape_into_2d(X)
      result = self.auto_gluon_model.predict_proba(
          pd.DataFrame(X, columns=self._feature_names)
      )
  
      return shape_into_2d(result.to_numpy())
  
imports: from typing import Any, Dict, List, Optional
  import numpy
  import pandas
  from autogluon import tabular
  from autogluon.tabular.configs.hyperparameter_configs import get_hyperparameter_config
  from packaging import version
  from dowhy.gcm.ml import ClassificationModel, PredictionModel
  from dowhy.gcm.util.general import shape_into_2d
label_desc: Use image node_id 2 for calling the AutoGluonClassifier obj's underlying member method code with example usage: obj.predict_probabilities(X) and returns: shape_into_2d