• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

Deep learning for Java

Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey folks - Just wanted to flag a useful library if you're a Java programmer and you want to learn and apply AI.

Deeplearning4j is open-source, Apache 2.0 licensed and part of the Eclipse Foundation:


It includes a data-pipeline library called DataVec that vectorizes data (similar to Pandas), a scientific computing library called ND4J (similar to NumPy), a bridge to native code called JavaCPP (like Cython), and a bunch of other stuff.

The DL4J community is active in an online chat called Gitter: https://gitter.im/deeplearning4j/deeplearning4j and also responds to questions on StackOverflow.

DL4J can import models from Python frameworks like Keras, TensorFlow and PyTorch, so it's useful for deploying to the JVM as needed.

It integrates with Spark, Hadoop, Kafka and Weka, among other projects.

Skymind, the company that build DL4J, is also the second-largest contributor to Keras after Google. Each library has its own strengths and weaknesses. In general, people familiar with the Java ecosystem and tools such as IntelliJ and Maven will probably pick up DL4J quicker than a Python library, because of the overhead of changing the tooling stack, among other things.

That said, we are working on a way to package native and Python libraries in JARs with JavaCPP so that their methods can be called from Java easily.


Also, here's our wiki on AI topics, designed to introduce people to various algorithms: https://skymind.ai/wiki/
Posts: 1167
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for suggesting us this library. IMHO at the moment the best choice to practice AI is using python+ keras, but as a seasoned Java aficionado I hope that frameworks like the one you suggested will grow more and more: AI is definitely the next big thing (not sure if 'next' is appropriated)
You may have just won ten million dollars! Or, maybe a tiny ad.
Enterprise-grade Excel API for Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!