1819202122232425262728
.build(); System.out.println(hapax.getIndex()); Viz viz = VIZ ? new Viz().open() : null; new MultidimensionalScaling() .similarities(hapax.getIndex().documentCorrelation().asArray()) .verbose() .listener(viz) .iterations(Integer.MAX_VALUE) .run();
5859606162636465666768
// persistPoints(); // loadPoints(); // // MDS double[][] ps = new MultidimensionalScaling() .similarities(index.documentCorrelation().asArray()) .initialConfiguration(x, y) .run(); x = ps[0]; y = ps[1];