class_docstr: Mapper for losses -> model type
class_docstr_tok: ["Mapper","for","losses","-",">","model","type"]
code: def get_model_type(self, loss):
      return self.__mapping.get(loss)
  
imports: import json
  from enum import Enum
  from typing import Union
  from pyspark.sql import Column
  import pyspark.sql.functions
label_desc: Use image node_id 2 for calling the LossModelTypeMapper obj's underlying member method code with example usage: obj.get_model_type(loss) and returns: self