Utils
object Utils
Utility object with helper functions.
Functions
Link copied to clipboard
fun updateCategoricalOutputDict(outputDict: MutableMap<String, Any>, colList: ArrayList<MutableMap<String, Float>>, resultKey: String)
Updates categorical data in the outputDict with the given colList, resultKey, and isReplace flag.
Link copied to clipboard
fun updateOutputDict(outputDict: MutableMap<String, Any>, colList: ArrayList<MutableMap<String, Float>>, dataTypeKey: String)
Updates the outputDict with the given colList and dataTypeKey under the TYPE key.
Link copied to clipboard
fun updateOutputDictAttribute(outputDict: MutableMap<String, Any>, colList: ArrayList<MutableMap<String, Float>>, dataValueKey: String, isReplace: Boolean = false)
Updates the outputDict with attribute information.