code: def __init__(self, params: Optional[OperationParameters] = None):
      super().__init__(params)
      params = round_n_neighbors(self.params.to_dict())
      self.model = KNeighborsClassifier(**params)
      self.classes = None
  
imports: from typing import Callable, Optional
  import numpy
  from sklearn.neighbors import KNeighborsClassifier, KNeighborsRegressor
  from fedot.core.operations.evaluation.operation_implementations.implementation_interfaces import ModelImplementation
  from fedot.core.operations.operation_parameters import OperationParameters
label_desc: Use image node_id 1 to create a new FedotKnnClassImplementation object from inherited base classes: KNeighborsImplementation with example: obj = FedotKnnClassImplementation(params)