[ANN] sampling - A Clojure library for random sampling
BigML https://bigml.com/ is happy to open source our Clojure random sampling library https://github.com/bigmlcom/sampling. The library offers: - Three varieties of sampling depending on your memory requirements (simple sampling, reservoir sampling, stream sampling) - Sample with replacement or without replacement - An option to weight a sampling using a weighting function - Seeded samples for reproducible results - Selectable underlying random number generator (linear congruential or Mersenne twister) We hope you'll find it useful! Project: https://github.com/bigmlcom/sampling Blog: http://blog.bigml.com/2013/01/22/a-random-sampling-library-for-clojure/ -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
[ANN] clj-bigml - Clojure bindings for BigML's machine learning API
clj-bigml https://github.com/bigmlcom/clj-bigml is a Clojure library for interacting with BigML's https://bigml.com/ machine learning APIhttps://bigml.com/developers . As of now, BigML offers decision tree models (and their ensembles like random decision forests) for supervised learning. With the service you can quickly summarize datasets, build and share models, generate evaluations, and make predictions (either through the API or locally). We use Clojure quite a lot at BigML, so we're happy to have a Clojure-friendly API library available. If you're interested in such things, we hope you'll check it out and send us feedback. Thanks! Project page: https://github.com/bigmlcom/clj-bigml Blog announcement: http://blog.bigml.com/2013/01/17/clojure-big-ml/ -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: clojure.contrib.priority-map issue
Great - and many thanks for the nice data structure! -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
clojure.contrib.priority-map issue
I've been using priority-map from clojure-contrib: https://github.com/clojure/clojure-contrib/blob/master/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj Peek and pop don't work as I expected after doing a dissoc for an object not contained in the map. I'm pretty new to Clojure and this community - is there somewhere I should log the issue? user= (def test-map (priority-map 1 1 2 2)) #'user/test-map user= (peek (dissoc (priority-map 1 1 2 2) 1)) ; works how I expected [2 2] user= (peek (dissoc (priority-map 1 1 2 2) 3)) ; expected [1 1] [nil nil] user= (pop (dissoc (priority-map 1 1 2 2) 3)) ; expected {2 2} {1 1, 2 2} -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en