class_docstr: Implementation of Randomized Smoothing applied to classifier predictions and gradients, as introduced
  in Cohen et al. (2019).
  
  | Paper link: https://arxiv.org/abs/1902.02918
class_docstr_tok: ["Implementation","of","Randomized","Smoothing","applied","to","classifier","predictions","and","gradients",",","as","introduced","in","Cohen","et","al",".","(","2019",")",".","|","Paper","link",":","https",":","\/\/arxiv.org\/abs\/1902.02918"]
docstr:  Fit the classifier on the training set `(x, y)`.
  
  :param x: Training data.
  :param y: Target values (class labels) one-hot-encoded of shape (nb_samples, nb_classes) or indices of shape
            (nb_samples,).
  :param batch_size: Batch size.
  :param nb_epochs: Number of epochs to use for training.
  :param kwargs: Dictionary of framework-specific arguments. This parameter is not currently supported for PyTorch
         and providing it takes no effect.
docstr_tok: ["Fit","the","classifier","on","the","training","set","`","(","x",",","y",")","`",".",":","param","x",":","Training","data",".",":","param","y",":","Target","values","(","class","labels",")","one-hot-encoded","of","shape","(","nb_samples",",","nb_classes",")","or","indices","of","shape","(","nb_samples",",",")",".",":","param","batch_size",":","Batch","size",".",":","param","nb_epochs",":","Number","of","epochs","to","use","for","training",".",":","param","kwargs",":","Dictionary","of","framework-specific","arguments",".","This","parameter","is","not","currently","supported","for","PyTorch","and","providing","it","takes","no","effect","."]
code: def _fit_classifier(
      self,
      x: np.ndarray,
      y: np.ndarray,
      batch_size: int,
      nb_epochs: int,
      **kwargs,
  ) -> None:
      """
       Fit the classifier on the training set `(x, y)`.
  
      :param x: Training data.
      :param y: Target values (class labels) one-hot-encoded of shape (nb_samples, nb_classes) or indices of shape
                (nb_samples,).
      :param batch_size: Batch size.
      :param nb_epochs: Number of epochs to use for training.
      :param kwargs: Dictionary of framework-specific arguments. This parameter is not currently supported for PyTorch
             and providing it takes no effect.
      """
      raise NotImplementedError
  
file_path: adversarial-robustness-toolbox/art/estimators/certification/randomized_smoothing/randomized_smoothing.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from abc import ABC
  import logging
  from typing import Optional, Tuple
  import numpy
  from scipy.stats import norm
  from tqdm.auto import tqdm
  from art.config import ART_NUMPY_DTYPE
label_desc: Use image node_id 4 for calling the RandomizedSmoothingMixin obj's underlying member method code with example usage: obj._fit_classifier(x, y, batch_size, nb_epochs) without return types