From 63cc87edb254d5484aa2db202fbf0a796e071112 Mon Sep 17 00:00:00 2001 From: Carsten Behring Date: Sun, 22 Dec 2024 20:55:00 +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 8b2f070..ec36f6c 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: " optionsq)) + (errors/when-not-error (not (some #(Double/isNaN %) posterior)) (str "Model prediction returned NaN. Options: " options)) posterior))))) (defn- ds->doubles [ds]