code: def create_linear():
      """
      Create a linear model.
      """
      model_type = "linear"
      handle = XLearnHandle()
      _check_call(
          _LIB.XLearnCreate(c_str(model_type), ctypes.byref(handle))
      )
      return XLearn(handle)
  
imports: import sys
  import os
  import ctypes
  from numpy import ndarray
  from .base import Series, DataFrame
  import numpy
  from .base import _LIB, XLearnHandle
  from .base import _check_call, c_str
  from .data import DMatrix
label_desc: Use image node_id 1 for calling a global function with example usage: create_linear() and returns: XLearn