O'Reilly logo

Java Deep Learning Projects by Md. Rezaul Karim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Answers to questions

Answer to question 1: Do not confuse the Q in Q-learning with the Q-function we have discussed in the previous parts. The Q-function is always the name of the function that accepts states and actions and spits out the value of that state-action pair. RL methods involve a Q-function but are not necessarily Q-learning algorithms.

Answer to question 2: No worries as you can perform the training on a CPU backend too. In that case, just remove the entries for CUDA and cuDNN dependencies from the pom.xml file and replace them with the CPU ones. The properties would be:

<properties>       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>       <java.version>1.8</java.version>        <nd4j.version>1.0.0-alpha</nd4j.version> <dl4j.version>1.0.0-alpha</dl4j.version> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required