class_docstr: Helper component to control problem type. Autodetect if `problem_type = 'auto'`.
  
  Parameters
  ----------
  problem_type: str, default = 'auto'
      problem type to use. Valid problem_type values include ['auto', 'binary', 'multiclass', 'regression', 'quantile', 'softclass']
      auto means it will be Auto-detected using AutoGluon methods.
  parent: Optional[AbstractAnalysis], default = None
      parent Analysis
  children: Optional[List[AbstractAnalysis]], default None
      wrapped analyses; these will receive sampled `args` during `fit` call
  kwargs
class_docstr_tok: ["Helper","component","to","control","problem","type",".","Autodetect","if","`","problem_type","=","'auto","'","`",".","Parameters","--","--","--","--","--","problem_type",":","str",",","default","=","'auto'","problem","type","to","use",".","Valid","problem_type","values","include","[","'auto","'",",","'binary","'",",","'multiclass","'",",","'regression","'",",","'quantile","'",",","'softclass","'","]","auto","means","it","will","be","Auto-detected","using","AutoGluon","methods",".","parent",":","Optional","[","AbstractAnalysis","]",",","default","=","None","parent","Analysis","children",":","Optional","[","List","[","AbstractAnalysis","]","]",",","default","None","wrapped","analyses",";","these","will","receive","sampled","`","args","`","during","`","fit","`","call","kwargs"]
code: def __init__(
      self,
      problem_type: str = "auto",
      parent: Optional[AbstractAnalysis] = None,
      children: Optional[List[AbstractAnalysis]] = None,
      **kwargs,
  ) -> None:
      super().__init__(parent, children, **kwargs)
      valid_problem_types = (
          ["auto"]
          + PROBLEM_TYPES_REGRESSION
          + PROBLEM_TYPES_CLASSIFICATION
      )
      assert (
          problem_type in valid_problem_types
      ), f"Valid problem_type values include {valid_problem_types}"
      self.problem_type = problem_type
  
imports: from __future__ import annotations
  from typing import Any, Dict, List, Optional, Set, Union
  import numpy
  import pandas
  from autogluon.common.features.infer_types import get_type_group_map_special, get_type_map_raw
  from autogluon.common.features.types import R_BOOL, R_CATEGORY, R_FLOAT, R_INT, R_OBJECT
  from ..state import AnalysisState
  from .base import AbstractAnalysis
  from autogluon.core.constants import BINARY, MULTICLASS, PROBLEM_TYPES_CLASSIFICATION, PROBLEM_TYPES_REGRESSION, REGRESSION
  from autogluon.core.utils import generate_train_test_split_combined, infer_problem_type
label_desc: Use image node_id 1 to create a new ProblemTypeControl object from inherited base classes: AbstractAnalysis with example: obj = ProblemTypeControl(problem_type, parent, children)