Contrast Pattern Aided Regression And Classification