Improved Output Coding for Classification Using Continuous Relaxation