extend svm nb