Skip to content

Commit

Permalink
use ish?
Browse files Browse the repository at this point in the history
  • Loading branch information
behrica committed May 4, 2024
1 parent eedd15f commit 1c2f372
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/scicloj/ml/smile/ols_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@


(is (ish? -134.60792266677416 loglik))
(is (ish? 0.1 1798.4 (:bias weights)))
(is (ish? 0.1 345.5 (-> weights :coefficients first second)))
(is (ish? 0.1 -250.1 (-> weights :coefficients second second)))))
(is (ish? 1798.4039776258396 (:bias weights)))
(is (ish? 345.54008701056785 (-> weights :coefficients first second)))
(is (ish? -250.14657136937868 (-> weights :coefficients second second)))))

(deftest tidy-fns

Expand Down

0 comments on commit 1c2f372

Please sign in to comment.