412413414415416417418419420421422
ptr++; } parameters.weight_label = wts_labels; parameters.weight = wts; svm.svm_set_print_string_function(new svm_print_interface() { public void print(String s) { } }); svm.rand.setSeed(0); svm_model model = svm.svm_train(problem, parameters);