2013-02-18から1日間の記事一覧

vimにscalaをハイライトする(色つきにする)

http://sourceforge.jp/projects/milm-search/lists/archive/public/2012-April/000174.html がわかりやすい。 mkdir -p ~/.vim/{ftdetect,indent,syntax} で、できた各フォルダに それぞれのフォルダの http://lampsvn.epfl.ch/svn-repos/scala/scala-tool-…

scalaで順位相関を計算

関数などはjavaで順位相関を参照 http://d.hatena.ne.jp/arupaka-_-arupaka/20130218/1361176768 import org.apache.commons.math3.stat.correlation.SpearmansCorrelation; object test6{ def main(args: Array[String]){ val data1=Array(20,17,30,42.3,17…

Javaで順位相関 (Spearman order correlation on Java): Apache Commons のCommons Mathの利用

Javaで順位相関 (Spearman order correlation on Java): Apache Commons のCommons Mathの利用(↓コンパイル、導入法などはこれを参考) http://d.hatena.ne.jp/arupaka-_-arupaka/20130218/1361169072 本家を参考に http://commons.apache.org/math/apidoc…

Javaで順位統計: ランキングの計算 Apache Commons のCommons Mathの利用

Javaで順位統計: ランキングの計算 Apache Commons のCommons Mathの利用 http://d.hatena.ne.jp/arupaka-_-arupaka/20130218/1361169072 本家を参考に http://commons.apache.org/math/userguide/stat.html#a1.6_Rank_transformations import org.apache.c…

cygwinでApache Commons のCommons Mathの利用

Commons Mathはjavaの準正規ライブラリ的なのもの数学ライブラリ 統計計算などいろいろできて便利。ライブラリできること http://ja.wikipedia.org/wiki/Apache_Commons_Math 公式 http://commons.apache.org/導入は http://wiki.unfindable.net/webbook2/in…

cygwinにscalaの導入

(1)まず、ダウンロード http://www.scala-lang.org/downloads (2)次に、解凍 tar zxvf scala-2.9.0.1.tgz .basrcに以下を追加。 (ホームに展開した場合) export SCALA_HOME=~/scala-2.10.0 export PATH=$PATH:$SCALA_HOME/bin https://sites.google.com/si…