code: def test_regression_convert_model():
      # loading dataset
      data = pycaret.datasets.get_data("boston")
  
      # initialize setup
      pycaret.regression.setup(
          data,
          target="medv",
          html=False,
          n_jobs=1,
      )
  
      # train model
      lr = pycaret.regression.create_model("lr")
  
      # convert model
      lr_java = pycaret.regression.convert_model(lr, "java")
      assert isinstance(lr_java, str)
  
imports: import pycaret.classification
  import pycaret.datasets
  import pycaret.regression
label_desc: Use image node_id 2 for calling a global function with example usage: test_regression_convert_model() without return types