PCA and K-PCA using smile implementations.
PCA and K-PCA using smile implementations.
(pca-dataset dataset & {:keys [method] :or {method :svd}})
Run PCA on the dataset. Dataset must not have missing values or non-numeric string columns. Returns pca-info: {:means - vec of means :eigenvalues - vec of eigenvalues :eigenvectors - matrix of eigenvectors }
Run PCA on the dataset. Dataset must not have missing values or non-numeric string columns. Returns pca-info: {:means - vec of means :eigenvalues - vec of eigenvalues :eigenvectors - matrix of eigenvectors }
(pca-transform-dataset dataset pca-info n-components result-datatype)
PCA transform the dataset returning a new dataset.
PCA transform the dataset returning a new dataset.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close