Package ch.akuhn.isomap

Examples of ch.akuhn.isomap.Isomap


        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();
View Full Code Here

TOP

Related Classes of ch.akuhn.isomap.Isomap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.