Multistage pattern recognition with reject option | Synapse