class_docstr: Fast generalized subset scan based detector by McFowland, E., Speakman, S., and Neill, D. B. (2013).
  
  | Paper link: https://www.cs.cmu.edu/~neill/papers/mcfowland13a.pdf
class_docstr_tok: ["Fast","generalized","subset","scan","based","detector","by","McFowland",",","E.",",","Speakman",",","S.",",","and","Neill",",","D.","B",".","(","2013",")",".","|","Paper","link",":","https",":","\/\/www.cs.cmu.edu\/~neill\/papers\/mcfowland13a.pdf"]
docstr: Fit the detector using training data. Assumes that the classifier is already trained.
  
  :raises `NotImplementedException`: This method is not supported for this detector.
docstr_tok: ["Fit","the","detector","using","training","data",".","Assumes","that","the","classifier","is","already","trained",".",":","raises","`","NotImplementedException","`",":","This","method","is","not","supported","for","this","detector","."]
code: def fit(
      self,
      x: np.ndarray,
      y: np.ndarray,
      batch_size: int = 128,
      nb_epochs: int = 20,
      **kwargs,
  ) -> None:
      """
      Fit the detector using training data. Assumes that the classifier is already trained.
  
      :raises `NotImplementedException`: This method is not supported for this detector.
      """
      raise NotImplementedError
  
file_path: adversarial-robustness-toolbox/art/defences/detector/evasion/subsetscanning/detector.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import sys
  from typing import Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  from sklearn import metrics
  from tqdm.auto import trange, tqdm
  from art.defences.detector.evasion.evasion_detector import EvasionDetector
  from art.defences.detector.evasion.subsetscanning.scanner import Scanner
  from art.defences.detector.evasion.subsetscanning.scoring_functions import ScoringFunctions
label_desc: Use image node_id 6 for calling the SubsetScanningDetector obj's underlying member method code with example usage: obj.fit(x, y, batch_size, nb_epochs) without return types