validations added for svm and feature