class_docstr: Automated Machine Learning for supervised tasks (binary classification, multiclass classification, regression).
class_docstr_tok: ["Automated","Machine","Learning","for","supervised","tasks","(","binary","classification",",","multiclass","classification",",","regression",")","."]
docstr: Computes class probabilities from AutoML best model.
  This method can only be used for classification tasks.
  
  Arguments:
      X (list or numpy.ndarray or pandas.DataFrame):
          Input values to make predictions on.
  
  Returns:
      numpy.ndarray of shape (n_samples, n_classes):
          Matrix of containing class probabilities of the input samples
  
  Raises:
      AutoMLException: Model has not yet been fitted.
docstr_tok: ["Computes","class","probabilities","from","AutoML","best","model",".","This","method","can","only","be","used","for","classification","tasks",".","Arguments",":","X","(","list","or","numpy.ndarray","or","pandas.DataFrame",")",":","Input","values","to","make","predictions","on",".","Returns",":","numpy.ndarray","of","shape","(","n_samples",",","n_classes",")",":","Matrix","of","containing","class","probabilities","of","the","input","samples","Raises",":","AutoMLException",":","Model","has","not","yet","been","fitted","."]
code: def predict_proba(
      self, X: Union[List, numpy.ndarray, pandas.DataFrame]
  ) -> numpy.ndarray:
      """
      Computes class probabilities from AutoML best model.
      This method can only be used for classification tasks.
  
      Arguments:
          X (list or numpy.ndarray or pandas.DataFrame):
              Input values to make predictions on.
  
      Returns:
          numpy.ndarray of shape (n_samples, n_classes):
              Matrix of containing class probabilities of the input samples
  
      Raises:
          AutoMLException: Model has not yet been fitted.
  
      """
      return self._predict_proba(X)
  
imports: import logging
  import matplotlib
  import warnings
  from collections.abc import Iterable
  from re import U
  from typing import List, Optional, Union
  import numpy
  import pandas
  from typing_extensions import Literal
  from supervised.base_automl import BaseAutoML
  from supervised.utils.config import LOG_LEVEL
label_desc: Use image node_id 4 for calling the AutoML obj's underlying member method code with example usage: obj.predict_proba(X) and returns: self