code: def inferSequence(exp, sequenceId, sequences, objectName=0):
    
    # Create the (loc, feat) pairs for this sequence for column 0.
    objectSensations = {
      0: [pair for pair in sequences[sequenceId]]
    }
  
    inferConfig = {
      "object": sequenceId,
      "numSteps": len(objectSensations[0]),
      "pairs": objectSensations,
    }
  
    inferenceSDRs = sequences.provideObjectToInfer(inferConfig)
    exp.infer(inferenceSDRs, objectName=objectName)
docs: Run inference on the given sequence.