class_docstr: Interactions encoded as a sequence matrix.
  
  Parameters
  ----------
  
  sequences: array of np.int32 of shape (num_sequences x max_sequence_length)
      The interactions sequence matrix, as produced by
      :func:`~Interactions.to_sequence`
  num_items: int, optional
      The number of distinct items in the data
  
  Attributes
  ----------
  
  sequences: array of np.int32 of shape (num_sequences x max_sequence_length)
      The interactions sequence matrix, as produced by
      :func:`~Interactions.to_sequence`
class_docstr_tok: ["Interactions","encoded","as","a","sequence","matrix",".","Parameters","--","--","--","--","--","sequences",":","array","of","np.int32","of","shape","(","num_sequences","x","max_sequence_length",")","The","interactions","sequence","matrix",",","as","produced","by",":","func",":","`","~Interactions.to_sequence","`","num_items",":","int",",","optional","The","number","of","distinct","items","in","the","data","Attributes","--","--","--","--","--","sequences",":","array","of","np.int32","of","shape","(","num_sequences","x","max_sequence_length",")","The","interactions","sequence","matrix",",","as","produced","by",":","func",":","`","~Interactions.to_sequence","`"]
code: def __repr__(self):
      num_sequences, sequence_length = self.sequences.shape
  
      return (
          "<Sequence interactions dataset ({num_sequences} "
          "sequences x {sequence_length} sequence length)>".format(
              num_sequences=num_sequences,
              sequence_length=sequence_length,
          )
      )
  
file_path: spotlight/spotlight/interactions.py
imports: import numpy
  import scipy.sparse
label_desc: Use image node_id 2 for calling the SequenceInteractions obj's underlying member method code with example usage: obj.__repr__() and returns: str