Install the Deeplearning4j example within Eclipse

The first thing we need to do is start Eclipse with an empty workspace. Then we have to grab the whole Deeplearning4j examples tree from Git and install it through Maven. Fortunately, the Git and Maven plugins will do this for you. Please follow the steps on this tutorial in order to install the examples: https://github.com/romeokienzler/deeplearning4j/blob/gh-pages/gettingstarted.md#using-dl4j-examples-in-eclipse-with-direct-checkout-from-git-via-the-maven-plugin.

Once we've run the XOR example successfully, we can finalize the installation:

  1. First, we switch to the Scala perspective. We right-click on the dl4j-examples-spark project, and then go to Configure | Add Scala Nature.
  2. Then, we right-click on the dl4j-examples-spark project again, and then click on Maven | Update Project… and wait until the rebuild takes place.
Please ignore the Maven errors so far. As long as Run.scala compiles without error, you are fine!
  1. Then we update src/resources/ibm_watson_iot_mqtt.properties with the credentials of the IBM Watson IoT platform by setting the org, apiKey, and apiToken we discovered previously during the installation of the test data generator.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.134.17