Skip to content

Commit c248b1c

Browse files
authored
re-eanbled tests and fixed kroki (#188)
1 parent e6d415b commit c248b1c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

notebooks/noj_book/utils/example_code.clj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[tech.v3.datatype.functional :as dtf]))
2121

2222
(defn kroki [s type format]
23-
#_(client/post "https://kroki.io/" {:content-type :json
23+
(client/post "https://kroki.io/" {:content-type :json
2424
:as :byte-array
2525
:form-params
2626
{:diagram_source s
@@ -358,7 +358,7 @@
358358
(ds-mod/column-values->categorical :y)
359359
seq))
360360

361-
#_#_ :smile.classification/decision-tree
361+
:smile.classification/decision-tree
362362
(->eval-code
363363
^:kindly/hide-code
364364
(kind/md "A decision tree learns a set of rules from the data in the form
@@ -400,10 +400,9 @@
400400
(catch Exception e
401401
(do (println "kroki failed")
402402
(.printStackTrace e)
403-
(println (.st))
404403
"Kroki not available")))))
405404

406-
#_#_ :smile.classification/ada-boost
405+
:smile.classification/ada-boost
407406
(->eval-code
408407
^:kindly/hide-code
409408
(kind/md "In this example we will use the capability of the AdaBoost classifier

0 commit comments

Comments
 (0)