code: def _sample(
      self, data_1: DataStr, data_2: DataStr, sample_size: int
  ) -> TrainingExamples:
      ...
  
imports: from __future__ import annotations
  import logging
  import random
  from abc import ABC, abstractmethod
  from typing import TYPE_CHECKING, overload
  from warnings import warn
  import numpy
  import numpy.typing
  import sklearn.linear_model
  import dedupe.core
  import dedupe.training
label_desc: Use image node_id 4 for calling the RecordLinkBlockLearner obj's underlying member method code with example usage: obj._sample(data_1, data_2, sample_size) without return types