ppca

fun ppca(data: DataFrame, k: Int, vararg columns: String): ProbabilisticPCA(source)

Probabilistic principal component analysis on a data frame.

Return

the ProbabilisticPCA model.

Parameters

data

training data.

k

the number of principal components to learn.

columns

the column names to use. If empty, all columns are used.


fun ppca(data: Array<DoubleArray>, k: Int, vararg columns: String): ProbabilisticPCA(source)

Probabilistic principal component analysis on a raw matrix.

Return

the ProbabilisticPCA model.

Parameters

data

training data of which each row is a sample.

k

the number of principal components to learn.

columns

optional column names for projected data frame.