Feature-based volumetric defect classification in metal additive manufacturing