class_docstr: Field-Weighted Factorization Machine base class.
class_docstr_tok: ["Field-Weighted","Factorization","Machine","base","class","."]
code: def _interaction_coefficient(self, combination):
      j1, j2 = combination
      return (
          np.dot(self.latents[j1], self.latents[j2])
          * self.interaction_weights[self._field(j1) + self._field(j2)]
      )
  
imports: from __future__ import annotations
  import collections
  import functools
  import itertools
  import numpy
  from river import base, optim, utils
  from .base import BaseFM
label_desc: Use image node_id 6 for calling the FwFM obj's underlying member method code with example usage: obj._interaction_coefficient(combination) and returns: unknown