System.out.println("peg : ||w|| : "+k.valueOf(w, w));
//7.2 w from transductive pegasos
System.out.println("tpeg : w : "+Arrays.toString(tpeg.getW()));
System.out.println("tpeg : bias : "+tpeg.getB());
System.out.println("tpeg : ||w|| : "+k.valueOf(tpeg.getW(), tpeg.getW()));
//8. comparing smo and peg
System.out.println("< peg, tpeg > : "+(k.valueOf(w, tpeg.getW())/Math.sqrt(k.valueOf(w, w)*k.valueOf(tpeg.getW(), tpeg.getW()))));
}