Skip to content

Commit

Permalink
Release 0.17.0-alpha.
Browse files Browse the repository at this point in the history
  • Loading branch information
blueberry committed Dec 21, 2020
1 parent 5f24b72 commit 3512321
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
;; the terms of this license.
;; You must not remove this notice, or any other, from this software.

(defproject uncomplicate/deep-diamond "0.16.0-alpha"
(defproject uncomplicate/deep-diamond "0.17.0-alpha"
:description "Fast Clojure Deep Learning Library"
:author "Dragan Djuric"
:url "http://github.com/uncomplicate/deep-diamond"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.10.1"]
[uncomplicate/neanderthal "0.38.0"]
[uncomplicate/neanderthal "0.39.0"]
[org.bytedeco/dnnl-platform "1.6.2-1.5.4"]
[org.jcuda/jcudnn "11.0.0"]]
[org.jcuda/jcudnn "11.1.1"]]

:profiles {:dev {:plugins [[lein-midje "3.2.1"]
[lein-codox "0.10.6"]]
Expand Down
2 changes: 1 addition & 1 deletion test/uncomplicate/diamond/dnn_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
crossentropy-cost (cost net train-tz :crossentropy)]
(transfer! (range 16) input-tz)
(transfer! [0.9 0.1] train-tz)
(train net crossentropy-cost 3 []) => (roughly 1.7 1))))
(train net crossentropy-cost 3 []) => (roughly 1.7 1.1))))

(defn my-fn ^double [xs]
(+ (math/sin (entry xs 0))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
(with-release [inf (infer net-infer test-images)
pred (dec-categories inf)
metrics (:metrics (classification-metrics test-labels-float pred))]
(:accuracy metrics) => (roughly 0.965 0.005)
(:f1 metrics) => (roughly 0.965 0.006)
(:accuracy metrics) => (roughly 0.97 0.005)
(:f1 metrics) => (roughly 0.97 0.005)
(take 8 pred) => (list 7.0 2.0 1.0 0.0 4.0 1.0 4.0 9.0))))

;; "Elapsed time: 2074.615346 msecs"
Expand Down

0 comments on commit 3512321

Please sign in to comment.