class_docstr: Manages issues related to near-duplicate examples.
class_docstr_tok: ["Manages","issues","related","to","near-duplicate","examples","."]
code: def __init__(
      self,
      datalab: Datalab,
      metric: Optional[str] = None,
      threshold: float = 0.13,
      k: int = 10,
      **_,
  ):
      super().__init__(datalab)
      self.metric = metric
      self.threshold = self._set_threshold(threshold)
      self.k = k
      self.near_duplicate_sets: List[List[int]] = []
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, ClassVar, Dict, List, Optional, Union
  import warnings
  import numpy
  import pandas
  from scipy.sparse import csr_matrix
  from sklearn.neighbors import NearestNeighbors
  from sklearn.exceptions import NotFittedError
  from sklearn.utils.validation import check_is_fitted
  from cleanlab.datalab.internal.issue_manager import IssueManager
label_desc: Use image node_id 1 to create a new NearDuplicateIssueManager object from inherited base classes: IssueManager with example: obj = NearDuplicateIssueManager(datalab, metric, threshold, k)