class_docstr: Configuration for SHAP analysis using SageMaker Clarify Explainer.
docstr: Generates a request dictionary using the parameters provided to the class.
docstr_tok: ["Generates","a","request","dictionary","using","the","parameters","provided","to","the","class","."]
code: def _to_request_dict(self):
      """Generates a request dictionary using the parameters provided to the class."""
      request_dict = {
          "ShapBaselineConfig": self.shap_baseline_config._to_request_dict(),
          "UseLogit": self.use_logit,
      }
      if self.number_of_samples is not None:
          request_dict["NumberOfSamples"] = self.number_of_samples
  
      if self.seed is not None:
          request_dict["Seed"] = self.seed
  
      if self.text_config is not None:
          request_dict[
              "TextConfig"
          ] = self.text_config._to_request_dict()
  
      return request_dict
  
imports: from __future__ import print_function, absolute_import
  from typing import List, Optional
label_desc: Use image node_id 2 for calling the ClarifyShapConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: request_dict