code: def grid_search_cmd(argv=sys.argv[1:]):  # pragma: no cover
      
      arguments = docopt(grid_search_cmd.__doc__, argv=argv)
      initialize_config(__mode__='fit')
      grid_search(
          save_results=arguments['--save-results'],
          persist_best=arguments['--persist-best'],
          )
docs: \
  Grid search parameters for the model.
  
  Uses 'dataset_loader_train', 'model', and 'grid_search' from the
  configuration to load a training dataset, and run a grid search on the
  model using the grid of hyperparameters.
  
  Usage:
    pld-grid-search [options]
  
  Options:
    --save-results=<fname>   Save results to CSV file
    --persist-best           Persist the best model from grid search
    -h --help                Show this screen.