updating with cross validation for wsvm, pisvm and posvm