Research Article

Analysis of e-Mail Spam Detection Using a Novel Machine Learning-Based Hybrid Bagging Technique

Algorithm 2

Decision tree algorithm.
build_decision_tree (DT)
{
assign root node F and using splitting trait label it
add arc (root node for F)
for each arc do
  DT = dataset developed by splitting trait to DT
  if stop measures met then
    Develop leaf node F′
    Label leaf node with suitable class
else
    F′ = build_decision_tree (DT)
F = add F′ to arc
}