docstr: Test the different data input types for AutoML
docstr_tok: ["Test","the","different","data","input","types","for","AutoML"]
code: def test_different_input_types(self):
      """Test the different data input types for AutoML"""
      model = AutoML(
          total_time_limit=10,
          explain_level=0,
          start_random_models=1,
          algorithms=["Linear"],
          verbose=0,
      )
      X, y = datasets.make_regression()
  
      # First test - X and y as numpy arrays
  
      pred = model.fit(X, y).predict(X)
  
      self.assertIsInstance(pred, np.ndarray)
      self.assertEqual(len(pred), X.shape[0])
  
      del model
  
      model = AutoML(
          total_time_limit=10,
          explain_level=0,
          start_random_models=1,
          algorithms=["Linear"],
          verbose=0,
      )
      # Second test - X and y as pandas dataframe
      X_pandas = pd.DataFrame(X)
      y_pandas = pd.DataFrame(y)
      pred_pandas = model.fit(X_pandas, y_pandas).predict(X_pandas)
  
      self.assertIsInstance(pred_pandas, np.ndarray)
      self.assertEqual(len(pred_pandas), X.shape[0])
  
      del model
  
      model = AutoML(
          total_time_limit=10,
          explain_level=0,
          start_random_models=1,
          algorithms=["Linear"],
          verbose=0,
      )
      # Third test - X and y as lists
      X_list = pd.DataFrame(X).values.tolist()
      y_list = pd.DataFrame(y).values.tolist()
      pred_list = model.fit(X_pandas, y_pandas).predict(X_pandas)
  
      self.assertIsInstance(pred_list, np.ndarray)
      self.assertEqual(len(pred_list), X.shape[0])
  
file_path: mljar-supervised/tests/tests_automl/test_integration.py
imports: import os
  import unittest
  import tempfile
  import json
  import numpy
  import pandas
  import shutil
  from sklearn import datasets
  from supervised import AutoML
label_desc: Use image node_id 5 for calling the AutoMLIntegrationTest obj's underlying member method code with example usage: obj.test_different_input_types() without return types