class_docstr: Dictionary-like object representing an SALib Problem specification.
  
  Attributes
  ----------
  samples : np.array, of generated samples
  results : np.array, of evaluations (i.e., model outputs)
  analysis : np.array or dict, of sensitivity indices
docstr: Evaluate a given model.
  
  Parameters
  ----------
  func : function,
      Model, or function that wraps a model, to be run/evaluated.
      The provided function is required to accept a numpy array of
      inputs as its first parameter and must return a numpy array of
      results.
  
  *args : list,
      Additional arguments to be passed to `func`
  
  nprocs : int,
      If specified, attempts to parallelize model evaluations
  
  **kwargs : dict,
      Additional keyword arguments passed to `func`
  
  Returns
  -------
  self : ProblemSpec object
docstr_tok: ["Evaluate","a","given","model",".","Parameters","--","--","--","--","--","func",":","function",",","Model",",","or","function","that","wraps","a","model",",","to","be","run\/evaluated",".","The","provided","function","is","required","to","accept","a","numpy","array","of","inputs","as","its","first","parameter","and","must","return","a","numpy","array","of","results",".","*","args",":","list",",","Additional","arguments","to","be","passed","to","`","func","`","nprocs",":","int",",","If","specified",",","attempts","to","parallelize","model","evaluations","*","*","kwargs",":","dict",",","Additional","keyword","arguments","passed","to","`","func","`","Returns","--","--","--","-","self",":","ProblemSpec","object"]
code: def evaluate(self, func, *args, **kwargs):
      """Evaluate a given model.
  
      Parameters
      ----------
      func : function,
          Model, or function that wraps a model, to be run/evaluated.
          The provided function is required to accept a numpy array of
          inputs as its first parameter and must return a numpy array of
          results.
  
      *args : list,
          Additional arguments to be passed to `func`
  
      nprocs : int,
          If specified, attempts to parallelize model evaluations
  
      **kwargs : dict,
          Additional keyword arguments passed to `func`
  
      Returns
      -------
      self : ProblemSpec object
      """
      nprocs = kwargs.pop("nprocs", 1)
      if nprocs > 1:
          return self.evaluate_parallel(
              func, *args, nprocs=nprocs, **kwargs
          )
  
      self.results = func(self._samples, *args, **kwargs)
  
      return self
  
imports: import warnings
  import importlib
  from types import MethodType
  from functools import partial, wraps
  from multiprocess import Pool, cpu_count
  import numpy
  import SALib.sample
  import SALib.analyze
  from SALib.util import avail_approaches
  from SALib.util.results import ResultDict
label_desc: Use image node_id 10 for calling the ProblemSpec obj's underlying member method code with example usage: obj.evaluate(func) and returns: self, self