code: def get_regression_dataset():
      featurizer = MolGraphConvFeaturizer(use_edges=True)
      dir = os.path.dirname(os.path.abspath(__file__))
  
      input_file = os.path.join(dir, "assets/example_regression.csv")
      loader = dc.data.CSVLoader(
          tasks=["outcome"],
          feature_field="smiles",
          featurizer=featurizer,
      )
      dataset = loader.create_dataset(input_file)
      metric = dc.metrics.Metric(
          dc.metrics.mean_absolute_error, mode="regression"
      )
  
      return dataset, metric
  
imports: import os
  import pytest
  import numpy
  import deepchem
  from deepchem.feat.molecule_featurizers import MolGraphConvFeaturizer
label_desc: Use image node_id 4 for calling a global function with example usage: get_regression_dataset() and returns: dataset,  metric