Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Successfully reported this slideshow.

Like this presentation? Why not share!

- Global Healthcare Report Q2 2019 by CB Insights 664201 views
- Be A Great Product Leader (Amplify,... by Adam Nash 191877 views
- Trillion Dollar Coach Book (Bill Ca... by Eric Schmidt 246473 views
- APIdays Paris 2019 - Innovation @ s... by apidays 223488 views
- A few thoughts on work life-balance by Wim Vanderbauwhede 150614 views
- Is vc still a thing final by Mark Suster 201352 views

No Downloads

Total views

526

On SlideShare

0

From Embeds

0

Number of Embeds

33

Shares

0

Downloads

4

Comments

0

Likes

2

No embeds

No notes for slide

- 1. The REturn of Clojure Data Science Elise Huard @elise_huard - Euroclojure 2017 Thursday, 20 July 17
- 2. Thursday, 20 July 17
- 3. Thursday, 20 July 17
- 4. Thursday, 20 July 17
- 5. The REturn of Clojure Data Science Elise Huard @elise_huard - Euroclojure 2017 Thursday, 20 July 17
- 6. http://www.mastodonc.com/ Thursday, 20 July 17
- 7. Basic tooling Data structures 2 Examples Roadmap? Credits Thursday, 20 July 17
- 8. Your Mileage May vary Thursday, 20 July 17
- 9. Basic tooling Thursday, 20 July 17
- 10. “Awkward-sized data” Thursday, 20 July 17
- 11. Sampling https://github.com/bigmlcom/sampling Thursday, 20 July 17
- 12. Making sense of data Thursday, 20 July 17
- 13. Making sense of data Thursday, 20 July 17
- 14. Notebooks Thursday, 20 July 17
- 15. Thursday, 20 July 17
- 16. Thursday, 20 July 17
- 17. Thursday, 20 July 17
- 18. Data structures Thursday, 20 July 17
- 19. (deftype DataSet [^IPersistentVector column-names ^IPersistentVector columns ^IPersistentVector shape] clojure.lang.IMeta (meta [m] nil) clojure.lang.IObj (withMeta [m meta] (with-meta (mp/convert-to-nested-vectors m) meta)) ...) Thursday, 20 July 17
- 20. Thursday, 20 July 17
- 21. Thursday, 20 July 17
- 22. Plain old Clojure Data Structures [{:vote "I would probably vote for it", :age 57, :rural "urban", :arguments-against "It might encourage people to stop working", :age_group "40_65", :country_code "AT", :weight "1.533.248.826", :arguments-for "It increases appreciation for household work and volunteering | It encourages financial independence and self- responsibility | It reduces anxiety about financing basic needs", :gender "male", :dem_has_children "yes", :dem_full_time_job "yes", :dem_education_level "high", :awareness "I understand it fully"} ... ] Thursday, 20 July 17
- 23. clojure.spec (s/def ::acctid int?) (s/def ::first-name string?) (s/def ::last-name string?) (s/def ::email ::email-type) (s/def ::person (s/keys :req [::first-name ::last-name ::email] :opt [::phone])) Thursday, 20 July 17
- 24. clojure.spec (defn -integer? [x] (cond (string? x) (str->int x) (clojure.core/integer? x) x (and (clojure.core/double? x) (double->int x)) (double->int x) :else :clojure.spec/invalid)) (def integer? (s/conformer -integer?)) Thursday, 20 July 17
- 25. shiny transducers: kixi.stats • Arithmetic mean • Geometric mean • Harmonic mean • Variance • Standard deviation • Standard error • Skewness • Kurtosis • Covariance • Covariance matrix • Correlation • Correlation matrix • Simple linear regression ... https://github.com/MastodonC/kixi.stats Thursday, 20 July 17
- 26. (->> [{:x 1 :y 3 :z 2} {:x 2 :y 2 :z 4} {:x 3 :y 1 :z 6}] (transduce identity (correlation-matrix {:x :x :y :y :z :z}))) ;; => {[:x :y] -1.0, [:x :z] 1.0, [:y :z] -1.0, ;; [:y :x] -1.0, [:z :x] 1.0, [:z :y] -1.0} Thursday, 20 July 17
- 27. xform https://github.com/cgrand/xforms redux https://github.com/henrygarner/redux huri https://github.com/sbelak/huri Thursday, 20 July 17
- 28. Example: universal basic income Eu survey Thursday, 20 July 17
- 29. Thursday, 20 July 17
- 30. Thursday, 20 July 17
- 31. Thursday, 20 July 17
- 32. (def in-favour (filter #(= (:vote %) "I would vote for it") data)) (defn comp-by-numbers [a b] (> (:how-many a) (:how-many b))) (defn tally-numbers-fn [d] (fn[reason] (hash-map :reason reason :how-many (reduce + 0 (map #(get % reason) d))))) (table-view (sort comp-by-numbers (map (tally-numbers-fn in-favour) reasons-for))) Thursday, 20 July 17
- 33. Thursday, 20 July 17
- 34. Thursday, 20 July 17
- 35. Example: neural nets Thursday, 20 July 17
- 36. https://github.com/thinktopic/cortex Cortex deeplearning4j https://deeplearning4j.org/ Thursday, 20 July 17
- 37. http://yann.lecun.com/exdb/mnist/ Thursday, 20 July 17
- 38. (defn initial-description [input-w input-h num-classes] [(layers/input input-w input-h 1 :id :data) (layers/convolutional 5 0 1 20) (layers/max-pooling 2 0 2) (layers/dropout 0.9) (layers/relu) (layers/convolutional 5 0 1 50) (layers/max-pooling 2 0 2) (layers/batch-normalization) (layers/linear 1000) (layers/relu :center-loss {:label-indexes {:stream :labels} :label-inverse-counts {:stream :labels} :labels {:stream :labels} :alpha 0.9 :lambda 1e-4}) (layers/dropout 0.5) (layers/linear num-classes) (layers/softmax :id :labels)]) Thursday, 20 July 17
- 39. Thursday, 20 July 17
- 40. Thursday, 20 July 17
- 41. Thursday, 20 July 17
- 42. Java bindings https://github.com/mastodonc/kixi.mallet long wishlist ... Thursday, 20 July 17
- 43. Roadmap? Thursday, 20 July 17
- 44. •Notebooks: continue to improve/ upgrade gorilla-repl, new alternative? •Adding more to kixi.stats •Mine the good bits of incanter •More clojure bindings to java libs Thursday, 20 July 17
- 45. Credits Thursday, 20 July 17
- 46. David Edgar Liebke Michael Anderson Jony Hudson Carin Meyer Simon Belak ... Thursday, 20 July 17
- 47. Thank you Elise Huard @elise_huard - Euroclojure 2017 Thursday, 20 July 17

No public clipboards found for this slide

Be the first to comment