class_docstr: KNearestNeighbors model (scikit-learn): https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsClassifier.html
class_docstr_tok: ["KNearestNeighbors","model","(","scikit-learn",")",":","https",":","\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.neighbors.KNeighborsClassifier.html"]
code: def _get_default_ag_args(cls) -> dict:
      default_ag_args = super()._get_default_ag_args()
      extra_ag_args = {
          "valid_stacker": False,
          "problem_types": [BINARY, MULTICLASS, REGRESSION],
      }
      default_ag_args.update(extra_ag_args)
      return default_ag_args
  
imports: import logging
  import math
  import time
  from typing import Dict, Union
  import numpy
  from autogluon.common.features.types import R_FLOAT, R_INT, S_BOOL
  from autogluon.common.utils.resource_utils import ResourceManager
  from autogluon.core.constants import BINARY, MULTICLASS, REGRESSION
  from autogluon.core.models import AbstractModel
  from autogluon.core.utils.exceptions import NotEnoughMemoryError
  from autogluon.core.utils.utils import normalize_pred_probas
label_desc: Use image node_id 6 for calling the KNNModel obj's underlying member method code with example usage: obj._get_default_ag_args(cls) and returns: default_ag_args