feat: adds 3 new regression metrics

This commit is contained in:
Volodymyr Orlov
2020-06-10 17:06:34 -07:00
parent 61b404afea
commit 2ece181e08
5 changed files with 185 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@ pub trait FloatExt: Float + FromPrimitive + Debug + Display + Copy {
fn two() -> Self;
fn half() -> Self;
fn square(self) -> Self {
self * self
}
}
impl FloatExt for f64 {