code: def test_supervised(self):
      # Testing an instantiated class that inherits from Model
      sf = turicreate.SFrame(
          {"d1": [1, 2, 3, 4, 5, 6], "d2": [5, 4, 3, 2, 1, 6]}
      )
      m = turicreate.linear_regression.create(sf, target="d1")
  
      expected = [
          "coefficients",
          "convergence_threshold",
          "evaluate",
          "export_coreml",
          "feature_rescaling",
          "features",
          "get",
          "l1_penalty",
          "l2_penalty",
          "lbfgs_memory_level",
          "_list_fields",
          "_list_fields",
          "max_iterations",
          "name",
          "num_coefficients",
          "num_examples",
          "num_features",
          "num_unpacked_features",
          "predict",
          "progress",
          "save",
          "show",
          "solver",
          "step_size",
          "summary",
          "target",
          "training_iterations",
          "training_loss",
          "training_rmse",
          "training_solver_status",
          "training_time",
          "unpacked_features",
      ]
  
      actual = [x for x in dir(m) if not x.startswith("_")]
      check_visible_modules(actual, expected)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import turicreate
label_desc: Use image node_id 2 for calling the TabCompleteVisibilityTests obj's underlying member method code with example usage: obj.test_supervised() without return types