code: def to_numpy_dataset(dataset):
      """Converts dataset to numpy dataset."""
      return dc.data.NumpyDataset(
          dataset.X, dataset.y, dataset.w, dataset.ids
      )
  
file_path: deepchem/examples/low_data/datasets.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import unicode_literals
  import os
  import sys
  import shutil
  import tempfile
  import numpy
  import deepchem
label_desc: Use image node_id 1 for calling a global function with example usage: to_numpy_dataset(dataset) and returns: dc