added libsvm
separate subsample and clean steps in methods