class_docstr: A single learner that is used by DisagreementLearner.
class_docstr_tok: ["A","single","learner","that","is","used","by","DisagreementLearner","."]
docstr: Train on the given data.
docstr_tok: ["Train","on","the","given","data","."]
code: def fit(self, pairs: TrainingExamples, y: LabelsLike) -> None:
      """Train on the given data."""
  
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 1 for calling the Learner obj's underlying member method code with example usage: obj.fit(pairs, y) without return types