fixed classifier algorithm