code: def predict_from_jsonlines(self, obj, **kwargs):
      x = np.array(
          [json.loads(line)["features"] for line in obj.split("\n")]
      )
      return self.predict(x, **kwargs)
  
file_path: sagemaker-python-sdk/tests/data/marketplace/iris/scoring_logic.py
imports: from enum import IntEnum
  import json
  import logging
  import re
  from flask import Flask
  from flask import request
  from joblib import dump, load
  import numpy
  import os
label_desc: Use image node_id 5 for calling the IrisModel obj's underlying member method code with example usage: obj.predict_from_jsonlines(obj) and returns: self