Package jmprojection

Examples of jmprojection.PCA


      }

      if (result.getVisualizationType() == VisualizationType.PCA) {
        // Scale data and do PCA
        Preprocess.scaleToUnityVariance(rawData);
        PCA pcaProj = new PCA(rawData, numComponents);
        projectionStatus = pcaProj.getProjectionStatus();

        double[][] pcaResult = pcaProj.getState();

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


    if (yAxisPC > numComponents)
      numComponents = yAxisPC;

    // Scale data and do PCA
    Preprocess.scaleToUnityVariance(rawData);
    PCA pcaProj = new PCA(rawData, numComponents);
    projectionStatus = pcaProj.getProjectionStatus();

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

    if (status == TaskStatus.CANCELED)
      return;

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

TOP

Related Classes of jmprojection.PCA

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.