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 predictions from AutoML best model.
  
  Arguments:
      X (list or numpy.ndarray or pandas.DataFrame):
          Input values to make predictions on.
  
  Returns:
      numpy.ndarray:
  
      - One-dimensional array of class labels for classification.
      - One-dimensional array of predictions for regression.
  
  Raises:
      AutoMLException: Model has not yet been fitted.
docstr_tok: ["Computes","predictions","from","AutoML","best","model",".","Arguments",":","X","(","list","or","numpy.ndarray","or","pandas.DataFrame",")",":","Input","values","to","make","predictions","on",".","Returns",":","numpy.ndarray",":","-","One-dimensional","array","of","class","labels","for","classification",".","-","One-dimensional","array","of","predictions","for","regression",".","Raises",":","AutoMLException",":","Model","has","not","yet","been","fitted","."]
code: def predict(
      self, X: Union[List, numpy.ndarray, pandas.DataFrame]
  ) -> numpy.ndarray:
      """
      Computes predictions from AutoML best model.
  
      Arguments:
          X (list or numpy.ndarray or pandas.DataFrame):
              Input values to make predictions on.
  
      Returns:
          numpy.ndarray:
  
          - One-dimensional array of class labels for classification.
          - One-dimensional array of predictions for regression.
  
      Raises:
          AutoMLException: Model has not yet been fitted.
      """
      return self._predict(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 3 for calling the AutoML obj's underlying member method code with example usage: obj.predict(X) and returns: self