From 9dba99501d669d0ba72ee71260c3eb8d4b8bd6ed Mon Sep 17 00:00:00 2001 From: Carsten Behring Date: Sun, 22 Dec 2024 20:54:02 +0000 Subject: [PATCH] fixed debug --- src/scicloj/ml/smile/classification.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scicloj/ml/smile/classification.clj b/src/scicloj/ml/smile/classification.clj index 41f8e8a..8b2f070 100644 --- a/src/scicloj/ml/smile/classification.clj +++ b/src/scicloj/ml/smile/classification.clj @@ -37,7 +37,7 @@ (readObject [rdr idx] (let [posterior (double-array n-labels)] (.predict model (.get df idx) posterior) - (errors/when-not-error (not (some #(Double/isNaN %) posterior)) (str "Model prediction returned NaN. Options: options ")) + (errors/when-not-error (not (some #(Double/isNaN %) posterior)) (str "Model prediction returned NaN. Options: " optionsq)) posterior))))) (defn- ds->doubles [ds]