do cross validation while computing feature selection