main script nb-svm