core-matrix

intended for specific discussion around core.matrix (usage and development) For general data work check out #data-science
jstokes 2016-01-15T01:07:06.000173Z

i came up with something like this.. (defn argmax [v] (key (apply max-key val (zipmap (range) v))))

jstokes 2016-01-15T01:07:27.000174Z

didnt know if there was a more efficient impl for core.matrix

👀 1
2016-01-15T09:46:16.000178Z

@jstokes In neanderthal, there is iamax function that gives you the index of such element. Perhaps core.matrix have similar method that you can use to later retrieve the value.

👀 1
meow 2016-01-15T13:44:35.000179Z

💌

jstokes 2016-01-15T14:56:05.000180Z

thanks @blueberry - i’m getting a class not found exception for clojure.lang.Tuple, but I’ll play around with this when I get a little more time

2016-01-15T16:38:36.000181Z

@jstokes are you sure you've tried the latest version? that Tuple thing is not related to neanderthal, but to some changes in Clojure's RC versions. Anyway, if the release is not working, pull the snapshot from the github and there should be no problems - i compiled the same a few days ago. Additionally, make sure you use Java 8, and not an earlier version.

2016-01-15T16:39:29.000182Z

@jstokes: And try with Clojure 1.8.0-RC5 just to make sure...