feat: adds PCA

This commit is contained in:
Volodymyr Orlov
2020-03-06 09:13:54 -08:00
parent 619560a1cd
commit 7b3fa982be
9 changed files with 1422 additions and 20 deletions
+3 -3
View File
@@ -2,9 +2,9 @@ use crate::linalg::{Matrix};
#[derive(Debug, Clone)]
pub struct SVD<M: Matrix> {
U: M,
V: M,
s: Vec<f64>,
pub U: M,
pub V: M,
pub s: Vec<f64>,
full: bool,
m: usize,
n: usize,