Skip to main content

Table 2 Conversion Formula for Numeric Attributes in the Decision Tree Algorithm

From: Decision tree–based classifier in providing telehealth service

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))