class_docstr: The abstract class for Turi Create recommender system models. This class
  defines methods common to all recommender system models, but leaves unique
  model details to separate model classes.
class_docstr_tok: ["The","abstract","class","for","Turi","Create","recommender","system","models",".","This","class","defines","methods","common","to","all","recommender","system","models",",","but","leaves","unique","model","details","to","separate","model","classes","."]
docstr: For a collection of item -> item pairs, returns information about the
  users in that intersection.
  
  Parameters
  ----------
  
  item_pairs : 2-column SFrame of two item columns, or a list of
     (item_1, item_2) tuples.
  
  Returns
  -------
  out : SFrame
     A SFrame with the two item columns given above, the number of
     users that rated each, and a dictionary mapping the user to a
     pair of the ratings, with the first rating being the rating of
     the first item and the second being the rating of the second item.
     If no ratings are provided, these values are always 1.0.
docstr_tok: ["For","a","collection","of","item","-",">","item","pairs",",","returns","information","about","the","users","in","that","intersection",".","Parameters","--","--","--","--","--","item_pairs",":","2-column","SFrame","of","two","item","columns",",","or","a","list","of","(","item_1",",","item_2",")","tuples",".","Returns","--","--","--","-","out",":","SFrame","A","SFrame","with","the","two","item","columns","given","above",",","the","number","of","users","that","rated","each",",","and","a","dictionary","mapping","the","user","to","a","pair","of","the","ratings",",","with","the","first","rating","being","the","rating","of","the","first","item","and","the","second","being","the","rating","of","the","second","item",".","If","no","ratings","are","provided",",","these","values","are","always","1.0","."]
code: def _get_item_intersection_info(self, item_pairs):
      """
      For a collection of item -> item pairs, returns information about the
      users in that intersection.
  
      Parameters
      ----------
  
      item_pairs : 2-column SFrame of two item columns, or a list of
         (item_1, item_2) tuples.
  
      Returns
      -------
      out : SFrame
         A SFrame with the two item columns given above, the number of
         users that rated each, and a dictionary mapping the user to a
         pair of the ratings, with the first rating being the rating of
         the first item and the second being the rating of the second item.
         If no ratings are provided, these values are always 1.0.
      """
  
      if type(item_pairs) is list:
          if not all(
              type(t) in [list, tuple] and len(t) == 2
              for t in item_pairs
          ):
              raise TypeError(
                  "item_pairs must be 2-column SFrame of two item "
                  "columns, or a list of (item_1, item_2) tuples. "
              )
  
          item_name = self.item_id
          item_pairs = _turicreate.SFrame(
              {
                  item_name + "_1": [v1 for v1, v2 in item_pairs],
                  item_name + "_2": [v2 for v1, v2 in item_pairs],
              }
          )
  
      if not isinstance(item_pairs, _turicreate.SFrame):
          raise TypeError(
              "item_pairs must be 2-column SFrame of two item "
              "columns, or a list of (item_1, item_2) tuples. "
          )
  
      response = self.__proxy__.get_item_intersection_info(item_pairs)
      return response
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  import random
  import array
  import logging
  import time
  import six
  from turicreate.toolkits import _coreml_utils
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._model import Model
  from turicreate.toolkits._internal_utils import _toolkit_repr_print, _precomputed_field
  import turicreate.aggregate
  from turicreate.data_structures.sarray import SArray
  from turicreate.data_structures.sframe import SFrame
  from turicreate._deps import numpy, HAS_NUMPY
label_desc: Use image node_id 22 for calling the _Recommender obj's underlying member method code with example usage: obj._get_item_intersection_info(item_pairs) and returns: response