original_docstring: 
      Parses YAML files to pull out a dataset (used primarily for 
      loading the holdout set with the correct settings).
      
docstring: Parses YAML files to pull out a dataset (used primarily for
  loading the holdout set with the correct settings).
docstring_tokens: Parses YAML files to pull out a dataset ( used primarily for loading the holdout set with the correct settings ) .
code: def dataset_from_yaml(proxied,
          training_set_mode='test', verbose=False):
      """
      Parses YAML files to pull out a dataset (used primarily for 
      loading the holdout set with the correct settings).
      """
      import pylearn2.config.yaml_parse
  
      # load the data
      if verbose:
          print("Loading data...")
  
      # pull out proxied dataset
      proxdata = proxied.keywords['dataset']
      # force loading of dataset and switch to test dataset
      proxdata.keywords['force'] = True
      proxdata.keywords['training_set_mode'] = training_set_mode
      proxdata.keywords['verbose'] = verbose
      # then instantiate the dataset
      dataset = pylearn2.config.yaml_parse._instantiate(proxdata)
  
      return dataset
code_tokens: def dataset_from_yaml ( proxied , training_set_mode = 'test' , verbose = False ) : import pylearn2 . config . yaml_parse if verbose : print ( "Loading data..." ) proxdata = proxied . keywords [ 'dataset' ] proxdata . keywords [ 'force' ] = True proxdata . keywords [ 'training_set_mode' ] = training_set_mode proxdata . keywords [ 'verbose' ] = verbose dataset = pylearn2 . config . yaml_parse . _instantiate ( proxdata ) return dataset
short_docstring: Parses YAML files to pull out a dataset (used primarily for
  loading the holdout set with the correct settings).
short_docstring_tokens: Parses YAML files to pull out a dataset ( used primarily for loading the holdout set with the correct settings ) .
comment: """
      Parses YAML files to pull out a dataset (used primarily for 
      loading the holdout set with the correct settings).
      """$SEP$# load the data$SEP$# pull out proxied dataset$SEP$# force loading of dataset and switch to test dataset$SEP$# then instantiate the dataset