Complex-Input Classification Function