Classification Algorithms based on Generalized Polynomial Chaos