class_docstr: ```
  Link preprocessing base class
  ```
class_docstr_tok: ["``","`","Link","preprocessing","base","class","``","`"]
code: def __init__(self, G, sample_sizes=[10, 20]):
      self.sample_sizes = sample_sizes
      self.G = G  # original graph under consideration with all original links
  
      # class names
      self.c = ["negative", "positive"]
  
imports: from ..None import utils
  from ..imports import *
  from ..preprocessor import Preprocessor
label_desc: Use image node_id 1 to create a new LinkPreprocessor object from inherited base classes: Preprocessor with example: obj = LinkPreprocessor(G, sample_sizes)