Examples of NaturalRanking


Examples of org.apache.commons.math.stat.ranking.NaturalRanking

      ITuple T = (ITuple) dataValues.get(i);
      xvalues[i] = ((INumber) T.get(0)).toReal().doubleValue();
    }
   
    // Create a natural ranking: largest first.
    double rank[] = new NaturalRanking().rank(xvalues);
   
    for(int i = 0; i < rank.length; i++){
      rank[i] = rank.length - rank[i] + 1; // invert the ranking: smallest come now first.
      //System.err.println("rank[" + i + "] = " + rank[i]);
    }
View Full Code Here

Examples of org.apache.commons.math.stat.ranking.NaturalRanking

     *
     * @param dataMatrix matrix of data with columns representing
     * variables to correlate
     */
    public SpearmansCorrelation(final RealMatrix dataMatrix) {
        this(dataMatrix, new NaturalRanking());
    }
View Full Code Here

Examples of org.apache.commons.math.stat.ranking.NaturalRanking

    /**
     * Create a SpearmansCorrelation without data.
     */
    public SpearmansCorrelation() {
        data = null;
        this.rankingAlgorithm = new NaturalRanking();
        rankCorrelation = null;
    }
View Full Code Here

Examples of org.apache.commons.math.stat.ranking.NaturalRanking

     *
     * @param dataMatrix matrix of data with columns representing
     * variables to correlate
     */
    public SpearmansCorrelation(final RealMatrix dataMatrix) {
        this(dataMatrix, new NaturalRanking());
    }
View Full Code Here

Examples of org.apache.commons.math.stat.ranking.NaturalRanking

    /**
     * Create a SpearmansCorrelation without data.
     */
    public SpearmansCorrelation() {
        data = null;
        this.rankingAlgorithm = new NaturalRanking();
        rankCorrelation = null;
    }
View Full Code Here

Examples of org.apache.commons.math.stat.ranking.NaturalRanking

     *
     * @param dataMatrix matrix of data with columns representing
     * variables to correlate
     */
    public SpearmansCorrelation(final RealMatrix dataMatrix) {
        this(dataMatrix, new NaturalRanking());
    }
View Full Code Here

Examples of org.apache.commons.math.stat.ranking.NaturalRanking

    /**
     * Create a SpearmansCorrelation without data.
     */
    public SpearmansCorrelation() {
        data = null;
        this.rankingAlgorithm = new NaturalRanking();
        rankCorrelation = null;
    }
View Full Code Here

Examples of org.apache.commons.math.stat.ranking.NaturalRanking

     *
     * @param dataMatrix matrix of data with columns representing
     * variables to correlate
     */
    public SpearmansCorrelation(final RealMatrix dataMatrix) {
        this(dataMatrix, new NaturalRanking());
    }
View Full Code Here

Examples of org.apache.commons.math.stat.ranking.NaturalRanking

    /**
     * Create a SpearmansCorrelation without data.
     */
    public SpearmansCorrelation() {
        data = null;
        this.rankingAlgorithm = new NaturalRanking();
        rankCorrelation = null;
    }
View Full Code Here

Examples of org.apache.commons.math3.stat.ranking.NaturalRanking

    /**
     * Create a SpearmansCorrelation without data.
     */
    public SpearmansCorrelation() {
        this(new NaturalRanking());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.