Digital Universal Financial Credit Risk Analysis Using Particle Swarm Optimization Algorithm with Structure Decision Tree Learning-Based Evaluation Model
Algorithm 1
Algorithm for SDTL.
(i)
Tree Growth
(1)
if stopping_cond = true then
(2)
leaf createNode ()
(3)
leaf.label Categorize
(4)
return leaf.
(5)
Else
(6)
root generate Node ()
(7)
root.test_cond = determine_best_split .
(8)
let is a probable outcome of root.test_cond
(9)
for each do 10. root.test_cond and
(11)
child TreeGrowth
(12)
add child as descendent of root and label edge root child as