A program to recognize and reward our most engaged community members
// output SVs int nSV = 0; int nBSV = 0; for(int i=0;i<prob->l;i++) { if(fabs(alpha) > 0) { printf("%d\n", i+1); //<--PRINTS SUPPORT VECTOR INDEX! ++nSV; if(prob->y > 0) { if(fabs(alpha) >= si.upper_bound_p) ++nBSV; } else { if(fabs(alpha) >= si.upper_bound_n) ++nBSV; } } } info("nSV = %d, nBSV = %d\n",nSV,nBSV);