core-matrix

intended for specific discussion around core.matrix (usage and development) For general data work check out #data-science
niveauverleih 2020-11-24T17:47:23.005200Z

I wonder how to include and require core.matrix.random in my project. I wanted to try out random-gaussian. I already included core.matrix.stats, it has a separate version from core.matrix, which confuses me.

Brian Chevalier 2020-11-29T06:34:56.010900Z

Can you share some of the code such as your project.clj/deps.edn and the place where you require them? You should just be able to require multiple namespaces and use all of them

Brian Chevalier 2020-11-29T06:40:32.011100Z

Something like the following should work:

(ns your.namespace
    (:require [core.matrix.stats :as stats]
              [core.matrix :as matrix]
              [core.matrix.random :as random])

(random/random-gaussian ...)

niveauverleih 2020-11-30T11:58:25.018Z

Hi Brian, my question is actually what do I need to put in project.clj to be able to use core.matrix.random.

Brian Chevalier 2020-12-01T23:54:39.018200Z

If you already included core.matrix in your project.clj (i.e. [net.mikera/core.matrix “0.62.0”]) then you should be good to go other than requiring it in your namespace