Implmented stacked classifier