code: def __init__(self, features=None, constant=0.5):
      # Set up options
      opts = {}
      opts["features"] = features
      opts["constant"] = constant
  
      # Initialize object
      proxy = _tc.extensions._SampleTransformer()
      proxy.init_transformer(opts)
      super(_SampleTransformer, self).__init__(proxy, self.__class__)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  from turicreate.toolkits._internal_utils import _toolkit_repr_print, _precomputed_field, _raise_error_if_not_sframe
label_desc: Use image node_id 1 to create a new _SampleTransformer object from inherited base classes: Transformer with example: obj = _SampleTransformer(features, constant)