assert x0.length == len;
assert y0.length == len;
// isomap
Isomap isomap = new Isomap(len) {
Matrix corr = index.documentCorrelation();
{
// number of neighbors
k=3;
}
@Override
protected double dist(int i, int j) {
return corr.get(i, j);
}
};
isomap.run();
Points points = isomap.getPoints();
x = points.x;
y = points.y;
// persistPoints();
// loadPoints();