DZone
Big Data Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Big Data Zone > Deep Learning on the JVM

Deep Learning on the JVM

How to use the DL4J open source project for Spark and Hadoop deep learning on the JVM.

Tim Spann user avatar by
Tim Spann
CORE ·
May. 19, 16 · Big Data Zone · Tutorial
Like (7)
Save
Tweet
12.32K Views

Join the DZone community and get the full member experience.

Join For Free

DL4J is a pretty awesome open source project that works with Spark and Hadoop.  Deep Learning 4J also works as a YARN app! It includes Text, NLP, Canova Vectorization Lib for ML, Scientific computing for the JVM, distributed with clusters, and works with CUDA GPU kernels.

Take a look at the Quick Start. 

Image title

DL4J is used for anomaly detection (fraud detection), recommender systems, predictive analytics with logs and image recognition.

In a related open source project, Skymind built a numerical computing library ND4J, or n-dimensional arrays for Java, essentially porting Numpy to the JVM. ND4J powers Deeplearning4j, since deep-learning relies heavily on linear algebra and calculus. And the real work of ND4J is done in C++ with libnd4j. . 

It is very easy to get started and run their code in IntelliJ, even on an average machine the results are quick.

Image title

Image title


Image title

Image title

DL4J Resources

  • DL4J Github

  • ND4J Github

  • LibND4J Github

  • GitterIM Chat with the DL4J Team

  • Full Documentation

  • DL4J Wiki Entry

  • DeepLearning4J on Spark 

  • NLP with DL4J

  • Word2Vec in DL4J

  • DL4J:  Full instructions for setup

  • Scala Examples

  • Introduction to Deep Neural Networks

  • A Beginner’s Tutorial for Restricted Boltzmann Machines

Skymind and Hortonworks will be presenting an in-depth DL4j + Spark on HDP talk at the 2016 Hadoop Summit in San Jose, CA

Simple Setup to Run the Examples (Must Have JDK, Maven, and IntelliJ)

git clone https://github.com/deeplearning4j/dl4j-0.4-examples.git

cd dl4j-0.4-examples/

mvn clean install

brew install homebrew/science/deeplearning4j-cli
Java (programming language) Java virtual machine Deep learning

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • DZone's Article Submission Guidelines
  • Cross-Functional Team Management
  • API Security Tools: What To Look For
  • JIT Compilation of SQL in NoSQL

Comments

Big Data Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo