class_docstr: GCNJaccard preprocesses input graph via droppining dissimilar
  edges. See more details in
  Adversarial Examples on Graph Data: Deep Insights into Attack and Defense,
  https://arxiv.org/pdf/1903.01610.pdf.
class_docstr_tok: ["GCNJaccard","preprocesses","input","graph","via","droppining","dissimilar","edges",".","See","more","details","in","Adversarial","Examples","on","Graph","Data",":","Deep","Insights","into","Attack","and","Defense",",","https",":","\/\/arxiv.org\/pdf\/1903.01610.pdf","."]
docstr: drop dissimilar edges with similarity smaller than given threshold
  
  Parameters
  ----------
  threshold : float
      similarity threshold for dropping edges. If two connected nodes with similarity smaller than threshold, the edge between them will be removed.
docstr_tok: ["drop","dissimilar","edges","with","similarity","smaller","than","given","threshold","Parameters","--","--","--","--","--","threshold",":","float","similarity","threshold","for","dropping","edges",".","If","two","connected","nodes","with","similarity","smaller","than","threshold",",","the","edge","between","them","will","be","removed","."]
code: def __init__(
      self, threshold=0.01, binary_feature=True, *args, **kwargs
  ):
      """drop dissimilar edges with similarity smaller than given threshold
  
      Parameters
      ----------
      threshold : float
          similarity threshold for dropping edges. If two connected nodes with similarity smaller than threshold, the edge between them will be removed.
      """
      super(GCNJaccard, self).__init__(*args, **kwargs)
      self.threshold = threshold
      self.binary_feature = binary_feature
  
file_path: AutoGL/autogl/module/preprocessing/structure_engineering/_gcn_jaccard.py
imports: import scipy.sparse
  import numpy
  from numba import njit
  from .._data_preprocessor_registry import DataPreprocessorUniversalRegistry
  from ._structure_engineer import StructureEngineer, get_feature, get_edges, set_edges, to_adjacency_list, to_adjacency_matrix, LOGGER
  import torch
label_desc: Use image node_id 1 to create a new GCNJaccard object from inherited base classes: StructureEngineer with example: obj = GCNJaccard(threshold, binary_feature)