class_docstr: Test some basic splitters.
docstr: Test multitask RandomSplitter class.
code: def test_multitask_random_split(self):
      """
      Test multitask RandomSplitter class.
      """
      multitask_dataset = load_multitask_data()
      random_splitter = dc.splits.RandomSplitter()
      (
          train_data,
          valid_data,
          test_data,
      ) = random_splitter.train_valid_test_split(
          multitask_dataset,
          frac_train=0.8,
          frac_valid=0.1,
          frac_test=0.1,
      )
      assert len(train_data) == 8
      assert len(valid_data) == 1
      assert len(test_data) == 1
  
imports: import os
  import unittest
  import numpy
  import deepchem
  from deepchem.data import NumpyDataset
  from deepchem.splits import IndexSplitter
label_desc: Use image node_id 20 for calling the TestSplitter obj's underlying member method code with example usage: obj.test_multitask_random_split() without return types