Study of defect feature dimension reduction based on principal component analysis