float[] percents_ig=new float[]{1.0f,0.9f,0.8f,0.7f,0.5f,0.3f,0.2f,0.1f};
int[] counts_ig=new int[10];
for(int test=0;test<percents_ig.length;test++){
System.out.println("Testing Bayes"+percents_ig[test]+"...");
if(test!=0)
bayes.fS_IG(percents_ig[test]);
int count=0;
for(int i=0;i<testset.size();i++){
Instance data = testset.getInstance(i);
Integer gold = (Integer) data.getTarget();
Predict<String> pres=bayes.classify(data, Type.STRING, 3);