feat: adds elastic net

This commit is contained in:
Volodymyr Orlov
2020-12-11 18:55:07 -08:00
parent 2650416235
commit 78673b597f
8 changed files with 647 additions and 237 deletions
+3
View File
@@ -271,6 +271,9 @@ pub trait BaseVector<T: RealNumber>: Clone + Debug {
fn std(&self) -> T {
self.var().sqrt()
}
/// Copies content of `other` vector.
fn copy_from(&mut self, other: &Self);
}
/// Generic matrix type.