org.mklab.tool.matrix
クラス Hist

java.lang.Object
  上位を拡張 org.mklab.tool.matrix.Hist

public class Hist
extends Object

ヒストグラムを描画するためのデータを求めるクラスです。

Data for histograms-plot

バージョン:
$Revision: 1.23 $
作成者:
koga
関連項目:
Bar

コンストラクタの概要
Hist()
           
 
メソッドの概要
static List<Matrix> hist(Matrix Y)
          もしyがベクトルなら、yの最小値と 最大値の間を10分割して、ヒストグラムを描画するためのデータを返します。
static List<Matrix> hist(Matrix Y, int size)
          size分割にします。
static List<Matrix> histColumnWise(Matrix Y_)
          もしyが行列なら、列毎に計算します。
static List<Matrix> histColumnWise(Matrix Y_, int size)
          size分割にします。
static List<Matrix> histRowWise(Matrix Y)
          もしyが行列なら、行毎に計算します。
static List<Matrix> histRowWise(Matrix Y, int size)
          size分割にします。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Hist

public Hist()
メソッドの詳細

hist

public static List<Matrix> hist(Matrix Y)
もしyがベクトルなら、yの最小値と 最大値の間を10分割して、ヒストグラムを描画するためのデータを返します。

パラメータ:
Y - データ
戻り値:
ヒストグラムを描画するためのデータ (data for histgrams-plot)

hist

public static List<Matrix> hist(Matrix Y,
                                int size)
size分割にします。

パラメータ:
Y - データ
size - 分割数
戻り値:
ヒストグラムを描画するためのデータ (data for histgrams-plot)

histColumnWise

public static List<Matrix> histColumnWise(Matrix Y_)
もしyが行列なら、列毎に計算します。

パラメータ:
Y_ - データ
戻り値:
ヒストグラムを描画するためのデータ (data for histgrams-plot)

histColumnWise

public static List<Matrix> histColumnWise(Matrix Y_,
                                          int size)
size分割にします。

パラメータ:
Y_ - データ
size - 分割数
戻り値:
ヒストグラムを描画するためのデータ (data for histgrams-plot)

histRowWise

public static List<Matrix> histRowWise(Matrix Y)
もしyが行列なら、行毎に計算します。

パラメータ:
Y - データ
戻り値:
ヒストグラムを描画するためのデータ (data for histgrams-plot)

histRowWise

public static List<Matrix> histRowWise(Matrix Y,
                                       int size)
size分割にします。

パラメータ:
Y - データ
size - 分割数
戻り値:
ヒストグラムを描画するためのデータ (data for histgrams-plot)