Package jmprojection

Examples of jmprojection.Sammons


    if (yAxisDimension > numComponents)
      numComponents = yAxisDimension;

    // Scale data and do Sammon's mapping
    Preprocess.scaleToUnityVariance(rawData);
    Sammons sammonsProj = new Sammons(rawData);

    projectionStatus = sammonsProj.getProjectionStatus();

    sammonsProj.iterate(100);

    if (status == TaskStatus.CANCELED)
      return;

    double[][] result = sammonsProj.getState();

    if (status == TaskStatus.CANCELED)
      return;

    component1Coords = result[xAxisDimension - 1];
View Full Code Here


        component1Coords = pcaResult[xAxisDimension - 1];
        component2Coords = pcaResult[yAxisDimension - 1];
      } else if (result.getVisualizationType() == VisualizationType.SAMMONS) {
        // Scale data and do Sammon's mapping
        Preprocess.scaleToUnityVariance(rawData);
        Sammons sammonsProj = new Sammons(rawData);
        projectionStatus = sammonsProj.getProjectionStatus();

        sammonsProj.iterate(100);

        double[][] sammonsResult = sammonsProj.getState();

        if (status == TaskStatus.CANCELED) {
          return;
        }
View Full Code Here

TOP

Related Classes of jmprojection.Sammons

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.