class_docstr: Defines the ErrorAnalysisConfig, specifying the parameters to run.
class_docstr_tok: ["Defines","the","ErrorAnalysisConfig",",","specifying","the","parameters","to","run","."]
docstr: Creates an ErrorAnalysisConfig, specifying the parameters to run.
  
  :param max_depth: The maximum depth of the tree.
  :type max_depth: int
  :param num_leaves: The number of leaves in the tree.
  :type num_leaves: int
  :param min_child_samples: The minimal number of data required to
      create one leaf.
  :type min_child_samples: int
  :param filter_features: One or two features to use for the
      matrix filter.
  :type filter_features: list
docstr_tok: ["Creates","an","ErrorAnalysisConfig",",","specifying","the","parameters","to","run",".",":","param","max_depth",":","The","maximum","depth","of","the","tree",".",":","type","max_depth",":","int",":","param","num_leaves",":","The","number","of","leaves","in","the","tree",".",":","type","num_leaves",":","int",":","param","min_child_samples",":","The","minimal","number","of","data","required","to","create","one","leaf",".",":","type","min_child_samples",":","int",":","param","filter_features",":","One","or","two","features","to","use","for","the","matrix","filter",".",":","type","filter_features",":","list"]
code: def __init__(
      self,
      max_depth: int,
      num_leaves: int,
      min_child_samples: int,
      filter_features: List,
  ):
      """Creates an ErrorAnalysisConfig, specifying the parameters to run.
  
      :param max_depth: The maximum depth of the tree.
      :type max_depth: int
      :param num_leaves: The number of leaves in the tree.
      :type num_leaves: int
      :param min_child_samples: The minimal number of data required to
          create one leaf.
      :type min_child_samples: int
      :param filter_features: One or two features to use for the
          matrix filter.
      :type filter_features: list
      """
      super(ErrorAnalysisConfig, self).__init__()
      self.max_depth = max_depth
      self.num_leaves = num_leaves
      self.min_child_samples = min_child_samples
      self.filter_features = filter_features
  
imports: import json
  import warnings
  from pathlib import Path
  from typing import Any, List, Optional
  import jsonschema
  import pandas
  from erroranalysis._internal.constants import metric_to_display_name
  from erroranalysis._internal.error_analyzer import ModelAnalyzer
  from erroranalysis._internal.error_report import as_error_report
  from erroranalysis._internal.error_report import json_converter
  from raiutils.exceptions import UserConfigValidationException
  from raiutils.models import ModelTask
  from responsibleai._config.base_config import BaseConfig
  from responsibleai._interfaces import ErrorAnalysisData
  from responsibleai._internal.constants import ErrorAnalysisManagerKeys
  from responsibleai._internal.constants import FileFormats, ListProperties, ManagerNames
  from responsibleai._tools.shared.state_directory_management import DirectoryManager
  from responsibleai.exceptions import ConfigAndResultMismatchException, DuplicateManagerConfigException
  from responsibleai.managers.base_manager import BaseManager
  from responsibleai.utils import _find_features_having_missing_values, _measure_time
label_desc: Use image node_id 1 to create a new ErrorAnalysisConfig object from inherited base classes: BaseConfig with example: obj = ErrorAnalysisConfig(max_depth, num_leaves, min_child_samples, filter_features)