Skip to content

Commit

Permalink
fixed debug
Browse files Browse the repository at this point in the history
  • Loading branch information
behrica committed Dec 22, 2024
1 parent af90d47 commit 9dba995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scicloj/ml/smile/classification.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 9dba995

Please sign in to comment.