A stratification method based on clustering for the minimization of data masking effect in signal detection