Skip to main content
. 2023 Feb 23;13(5):858. doi: 10.3390/diagnostics13050858
Algorithm 4: FHR Classsification using Bagging
Input: Δ={(d1,y1),.,(dn,yn)}, class labels, base learning algorithm L, number of learning rounds j, training set T
Step1: Δt Bootstrap Δ
Step3: htLΔt
Step4: jj+1
Step5: Repeat steps 1–3 till j covers the entire training set T
Output:
y^(d)=argmaxj=1T(y=ht(d))