Research Article

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
(13)return root. 14. function LEARNTREE
(15)best_split
(16)best_score
(17)for do
(18)for do
(19)
(20)if best_score then
(21)best_split
(22)best_score
(23)if best_score then
(24), best_split
(25)
(26)
(27)return new TreeVertex best_split,
(28)else
(29)Use to estimate
(30)return new TrecLeaf
(31)end if