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 _set_default_params(self):
      default_params = {
          "weights": "uniform",
      }
      for param, val in default_params.items():
          self._set_default_param_value(param, val)
  
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 4 for calling the KNNModel obj's underlying member method code with example usage: obj._set_default_params() without return types