This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-03
Channels
- # aleph (3)
- # beginners (139)
- # boot (3)
- # cider (12)
- # cljs-dev (18)
- # clojure (100)
- # clojure-dev (21)
- # clojure-dusseldorf (5)
- # clojure-germany (1)
- # clojure-italy (35)
- # clojure-nl (26)
- # clojure-spec (4)
- # clojure-uk (60)
- # clojurescript (11)
- # clojutre (4)
- # cursive (21)
- # data-science (21)
- # datomic (47)
- # editors (3)
- # emacs (2)
- # events (4)
- # figwheel (2)
- # fulcro (28)
- # jobs (27)
- # jobs-discuss (21)
- # lein-figwheel (3)
- # midje (2)
- # off-topic (20)
- # om-next (4)
- # onyx (10)
- # overtone (1)
- # pedestal (2)
- # portkey (14)
- # re-frame (71)
- # reagent (44)
- # reitit (11)
- # remote-jobs (1)
- # ring-swagger (4)
- # shadow-cljs (64)
- # spacemacs (11)
- # testing (2)
- # tools-deps (8)
- # vim (8)
Has anyone used http://haifengl.github.io/smile/index.html with Clojure?
Hi, I used it a little, and wrapped some part, maily for training and visualizing decision trees. It was nice. I do not yet an elegant, well thought API, though.
Great! Do you have the code in a public repo? Have you tested performance (running time, not accuracy)?
Hi, no public repo yet, and no performance tests. I'll try to put some repo with code examples in the next few days, but please don't expect anything exciting - these are mainly thin wrappers and some functions to traverse the trees and visualize them.
No worries, I just wanted to see a few examples, I'll try it myself, but I'm not great at Java interop, so I'd like to see some example before trying 😄
I wrapped several interpolations and some statistics in fastmath
library. Currently working on clustering. I found that some stuff was slower than Apache Commons Math versions (correlations as far as I remember)
regarding running time, it is 2-10times faster than kixi.stats, even counting transferring data from seqs to arrays. I've tested combined descriptive statistics on 1e7 samples. fastmath.stats/stats-map vs similar combination in kixi (with transduce/fuse)
@U1EP3BZ3Q this is interesting, I'm somewhat testing Smile vs scikit-learn and I found that is slower
Have you thought about using https://github.com/uncomplicate/neanderthal?
I believe that scikit-learn can be faster, it's partly implemented with cython. Smile is pure Java. Which is usual faster than pure Clojure.
http://haifengl.github.io/smile/images/benchm-ml.png so they are basically lying?
probably not here, they tested some cases on some data, possibly the other cases with other data could give different results
check the disccussions about Neanderthal vs ND4J speed here https://dragan.rocks/articles/18/Neanderthal-vs-ND4J-vol1 it's also the story about speed measurement traps