saves of svm classifier state