code: def test_reg_head_transform_1d_np():
      adapter = output_adapters.RegressionAdapter(name="a")
  
      y = adapter.adapt(np.random.rand(10), batch_size=32)
  
      assert isinstance(y, tf.data.Dataset)
  
file_path: autokeras/autokeras/adapters/output_adapters_test.py
imports: import numpy
  import pandas
  import pytest
  import tensorflow
  from autokeras import test_utils
  from autokeras.adapters import output_adapters
label_desc: Use image node_id 5 for calling a global function with example usage: test_reg_head_transform_1d_np() without return types