ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • [JAVA] 통계 계산 라이브러리 //APACHE common math
    Programming/Java 2020. 7. 11. 04:02

    homepage :http://commons.apache.org/proper/commons-math/

    maven repository :https://mvnrepository.com/artifact/org.apache.commons/commons-math3

    simple usage

    		DescriptiveStatistics stats = new DescriptiveStatistics();
    		DescriptiveStatistics stats_roulette = new DescriptiveStatistics();
    		for( int i = 0; i < size; i++) {
    	        stats		  .addValue(tournament200gen.get(i) );
    	        stats_roulette.addValue(roulette200gen.get(i) );
    		}
    		System.out.println("===tour  : roulette");
    		System.out.println("Max  "+stats.getMax()+" :"+stats_roulette.getMax());
    		System.out.println("Min  "+stats.getMin()+" :"+stats_roulette.getMin());
    		System.out.println("Mean "+stats.getMean()+" :"+stats_roulette.getMean());
    		System.out.println("StandardDeviation "+stats.getStandardDeviation()+" :"+stats_roulette.getStandardDeviation());
    

     

     

    그외에 

    kurtosis(뾰족한 정도) , skwedness(치우친 정도) //http://blog.naver.com/PostView.nhn?blogId=istech7&logNo=50154573592

    percentile

    quandratic mean

    geometic mean //https://ko.wikipedia.org/wiki/기하_평균#기하평균의_필요성

    등다양한 수학함수를 제공한다 

    위와같은 내용의 주제를 다루는데 ml(machine learning)은 클루스터링 쪽만 제공하는것 같다

    댓글 0

Designed by Tistory.