r/programming • • Jan 01 '17

Deep Learning in Clojure with Cortex

http://gigasquidsoftware.com/blog/2016/12/27/deep-learning-in-clojure-with-cortex/
15 Upvotes

1 comment sorted by

6

u/SlightlyCyborg Jan 01 '17 edited Jan 01 '17

Two things that I believe will make Cortex really competitive against deeplearning4j:

  1. better documentation in the github repo

  2. better utilities for analyzing loss. deeplearning4j has a better front end that shows the loss function, and validation data per epoch. It can also display a graph of the layers you have stacked.

Obviously, this being Clojure-first makes it much easier to use than deeplearning4j in clojure. Although, I don't see how Cortex could be used for generative models in its current version. I can't seem to figure out how to plug in my own loss function.

As a note: the tutorial doesn't make it clear how the cortex library itself was imported, although now looking at the src in github I can see why. There is a lot to require for this project.

Anyway, I am excited to see how cortex will progress.

Also, I agree with the conclusion about clojure being used to combine symbolic computing with soft computing. I think it would be really interesting to teach a neural net when to call various certain symbolic functions. No need to have nnets generate standard language when you can write a DSL that is easier for the nnet to speak.