class_docstr: ClarifyCheckStep step for workflow.
docstr: Generate the clarify processing job analysis config
  
  Returns:
      dict: processing job analysis config dictionary.
code: def _generate_processing_job_analysis_config(self) -> dict:
      """Generate the clarify processing job analysis config
  
      Returns:
          dict: processing job analysis config dictionary.
      """
      analysis_config = (
          self.clarify_check_config.data_config.get_config()
      )
      if isinstance(self.clarify_check_config, DataBiasCheckConfig):
          analysis_config.update(
              self.clarify_check_config.data_bias_config.get_config()
          )
          analysis_config["methods"] = {
              "pre_training_bias": {
                  "methods": self.clarify_check_config.methods
              }
          }
      elif isinstance(self.clarify_check_config, ModelBiasCheckConfig):
          analysis_config.update(
              self.clarify_check_config.data_bias_config.get_config()
          )
          (
              probability_threshold,
              predictor_config,
          ) = (
              self.clarify_check_config.model_predicted_label_config.get_predictor_config()
          )
          predictor_config.update(
              self.clarify_check_config.model_config.get_predictor_config()
          )
          if "model_name" in predictor_config:
              predictor_config.pop("model_name")
          analysis_config["methods"] = {
              "post_training_bias": {
                  "methods": self.clarify_check_config.methods
              }
          }
          analysis_config["predictor"] = predictor_config
          _set(
              probability_threshold,
              "probability_threshold",
              analysis_config,
          )
      else:
          predictor_config = (
              self.clarify_check_config.model_config.get_predictor_config()
          )
          if "model_name" in predictor_config:
              predictor_config.pop("model_name")
          model_scores = self.clarify_check_config.model_scores
          if isinstance(model_scores, ModelPredictedLabelConfig):
              (
                  probability_threshold,
                  predicted_label_config,
              ) = model_scores.get_predictor_config()
              _set(
                  probability_threshold,
                  "probability_threshold",
                  analysis_config,
              )
              predictor_config.update(predicted_label_config)
          else:
              _set(model_scores, "label", predictor_config)
          analysis_config[
              "methods"
          ] = (
              self.clarify_check_config.explainability_config.get_explainability_config()
          )
          analysis_config["predictor"] = predictor_config
      return analysis_config
  
imports: from __future__ import absolute_import
  import copy
  import json
  import os
  import tempfile
  from abc import ABC
  from typing import List, Union, Optional
  import attr
  from sagemaker import s3
  from sagemaker.clarify import DataConfig, BiasConfig, ModelConfig, ModelPredictedLabelConfig, SHAPConfig, ProcessingOutputHandler, _upload_analysis_config, SageMakerClarifyProcessor, _set
  from sagemaker.model_monitor import BiasAnalysisConfig, ExplainabilityAnalysisConfig
  from sagemaker.model_monitor.model_monitoring import _MODEL_MONITOR_S3_PATH
  from sagemaker.processing import ProcessingInput, ProcessingOutput, ProcessingJob
  from sagemaker.utils import name_from_base
  from sagemaker.workflow import is_pipeline_variable
  from sagemaker.workflow.entities import RequestType, PipelineVariable
  from sagemaker.workflow.properties import Properties
  from sagemaker.workflow.step_collections import StepCollection
  from sagemaker.workflow.steps import Step, StepTypeEnum, CacheConfig
  from sagemaker.workflow.check_job_config import CheckJobConfig
  from sagemaker.workflow.utilities import trim_request_dict
label_desc: Use image node_id 5 for calling the ClarifyCheckStep obj's underlying member method code with example usage: obj._generate_processing_job_analysis_config() and returns: analysis_config