updateOutputDictAttribute
fun updateOutputDictAttribute(outputDict: MutableMap<String, Any>, colList: ArrayList<MutableMap<String, Float>>, dataValueKey: String, isReplace: Boolean = false)
Updates the outputDict with attribute information.
Parameters
outputDict
MutableMap representing the output dictionary to be updated.
colList
ArrayList> representing the list of columns and their corresponding true percentages.
dataValueKey
String representing the key for the data value in the outputDict.
isReplace
Boolean representing whether to replace the existing data value or not. Default is false.