code: def load_pdbbind_pockets(split="index", subset="core"):
      """Load PDBBind datasets. Does not do train/test split"""
      dataset, tasks = featurize_pdbbind_pockets(subset=subset)
  
      splitters = {
          "index": dc.splits.IndexSplitter(),
          "random": dc.splits.RandomSplitter(),
      }
      splitter = splitters[split]
      ########################################################### DEBUG
      print("dataset.X.shape")
      print(dataset.X.shape)
      print("dataset.y.shape")
      print(dataset.y.shape)
      print("dataset.w.shape")
      print(dataset.w.shape)
      print("dataset.ids.shape")
      print(dataset.ids.shape)
      ########################################################### DEBUG
      train, valid, test = splitter.train_valid_test_split(dataset)
  
      transformers = []
      for transformer in transformers:
          train = transformer.transform(train)
      for transformer in transformers:
          valid = transformer.transform(valid)
      for transformer in transformers:
          test = transformer.transform(test)
  
      return tasks, (train, valid, test), transformers
  
file_path: deepchem/examples/binding_pockets/binding_pocket_datasets.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import unicode_literals
  import os
  import numpy
  import pandas
  import shutil
  import time
  import re
  from rdkit import Chem
  import deepchem
label_desc: Use image node_id 4 for calling a global function with example usage: load_pdbbind_pockets(split, subset) and returns: tasks,  train,  valid,  test,  transformers