docstr: Passes params in AutoML constructor and uses `get_params()` after fitting.
  Initial params must be equal to the ones returned by `get_params()`.
docstr_tok: ["Passes","params","in","AutoML","constructor","and","uses","`","get_params","(",")","`","after","fitting",".","Initial","params","must","be","equal","to","the","ones","returned","by","`","get_params","(",")","`","."]
code: def test_get_params(self):
      """
      Passes params in AutoML constructor and uses `get_params()` after fitting.
      Initial params must be equal to the ones returned by `get_params()`.
      """
      # Create model
      model = AutoML(
          hill_climbing_steps=3,
          start_random_models=1,
          results_path=self.automl_dir,
      )
      # Get params before fit
      params_before_fit = model.get_params()
      # Generate data
      X, y = datasets.make_classification(n_samples=30)
      # Fit data
      model.fit(X, y)
      # Get params after fit
      params_after_fit = model.get_params()
      # Assert before and after params are equal
      self.assertEquals(params_before_fit, params_after_fit)
  
imports: import os
  import unittest
  import tempfile
  import json
  import numpy
  import pandas
  import shutil
  from sklearn import datasets
  from sklearn.pipeline import make_pipeline
  from sklearn.decomposition import PCA
  from supervised import AutoML
  from supervised.exceptions import AutoMLException
label_desc: Use image node_id 7 for calling the AutoMLTest obj's underlying member method code with example usage: obj.test_get_params() without return types