Skip to main content
. 2019 May 30;19:104. doi: 10.1186/s12911-019-0825-9

Table 2.

Conversion Formula for Numeric Attributes in the Decision Tree Algorithm

Attribute Conversion Formula
F Ins_amt_C IF(FIns_amt < mean, 0, IF(FIns_amt < mean + standard deviation, 1, 2))
op_time_C IF(op_time < mean, 0, IF(op_time < mean + standard deviation, 1, 2))
ip_time_C IF(ip_time < mean, 0, 1)
EB day_C IF(EB day < mean, 0, 1)
CB day_C IF(CB day < mean, 0, 1)
drug day_C IF(drug day < mean, 0, IF(drug day < mean + standard deviation, 1, 2))
Total amount_C IF(Total amount < mean, 0, IF(Total amount < mean + standard deviation, 1, 2))
F CBR_C IF(FCBR < mean, 0, 1)
F Dis_C IF(FDis < mean, 0, IF(FDis < mean + standard deviation, 1, 2))