|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.mklab.tool.matrix.Cov
public class Cov
分散を求めるクラスです。
Covariance
Corrcoef| コンストラクタの概要 | |
|---|---|
Cov()
|
|
| メソッドの概要 | |
|---|---|
static NumericalScalar<?> |
cov(Matrix x)
ベクトル x の成分の分散を求めます。 |
static NumericalScalar<?> |
cov(Matrix x,
Matrix y)
cov([x y])を返します。 |
static Matrix |
covColumnWise(Matrix x)
もし x が行毎データが並ぶ行列なら、分散行列を返します。 |
static Matrix |
covColumnWise(Matrix x,
Matrix y)
|
static Matrix |
covRowWise(Matrix x)
もし x が、列毎にデータ並ぶ行列なら、分散行列を返します。 |
static Matrix |
covRowWise(Matrix x,
Matrix y)
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public Cov()
| メソッドの詳細 |
|---|
public static NumericalScalar<?> cov(Matrix x)
x の成分の分散を求めます。
x - データ
public static NumericalScalar<?> cov(Matrix x,
Matrix y)
x - データ1y - データ2
public static Matrix covColumnWise(Matrix x)
x が行毎データが並ぶ行列なら、分散行列を返します。
diag_vec(cov_col(x)) は、各列の分散が並ぶベクトルであり、 sqrt(diag_vec(cov_col(x))) は、標準偏差です。
x - データ
public static Matrix covColumnWise(Matrix x,
Matrix y)
x - データ1y - データ2
public static Matrix covRowWise(Matrix x)
x が、列毎にデータ並ぶ行列なら、分散行列を返します。
diag_vec(cov_row(x)) は、各行の分散が並ぶベクトルであり、 sqrt(diag_vec(cov_row(x))) は、標準偏差です。
x - データ
public static Matrix covRowWise(Matrix x,
Matrix y)
x - データ1y - データ2
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||