From 2bb31e7efd49a3540884f1bc1609acac8ea69331 Mon Sep 17 00:00:00 2001 From: Sachin Iyer Date: Fri, 10 Nov 2023 01:00:50 -0800 Subject: [PATCH] increase loss size --- model/src/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/src/model.rs b/model/src/model.rs index e3e8819..5afd0fa 100644 --- a/model/src/model.rs +++ b/model/src/model.rs @@ -179,7 +179,7 @@ mod tests { (0.1, 0.1), ); let loss = model.train1d(input, target); - assert!(crate::util::approximate_equal(loss, 50.0, Some(100.0))) + assert!(crate::util::approximate_equal(loss, 50.0, Some(200.0))) } #[test]