class_docstr: Field-aware Factorization Machine base class.
class_docstr_tok: ["Field-aware","Factorization","Machine","base","class","."]
code: def _interaction_combination_keys(self, x):
      return itertools.combinations(x.keys(), 2)
  
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 4 for calling the FFM obj's underlying member method code with example usage: obj._interaction_combination_keys(x) and returns: itertools