title: How to use a network for prediction in Deep Learning 4 j?
body: <p>As a beginner in <em>deep learning</em> I am currently practicing using the project called <a href="http://deeplearning4j.org/" rel="nofollow">deep learning 4 j</a>.</p>
  
  <p>I am getting really good at the "training" and "evaluating" part of deep learning, but how am I supposed to deploy my finished network in an application? It seems that there are no good example of using a network ( a.k.a prediction) in the <a href="https://github.com/deeplearning4j/dl4j-examples/tree/master/dl4j-examples/src/main/java/org/deeplearning4j/examples" rel="nofollow">examples for dl4j</a>.</p>
  
  <p>So to be 100% concrete; in a <em>java context</em>, what is the leanest way to deploy a network/model created in <strong>dl4j</strong> for use in an application such as a mobile phone app (<strong>Android</strong>)?</p>
  
  <p>Are there any <strong>maven</strong>/<strong>gradle</strong> lines that will get me just the dependencies needed for prediction (as opposed to the whole toolset)?</p>
  
  <p>What is a minimal source code example for using my network?</p>