code: public Matrix predict(Matrix features) {
          return MLLibUtil.toMatrix(network.output(MLLibUtil.toMatrix(features)));
      }
docs: Predict the given feature matrix
  
  @param features the given feature matrix
  @return the predictions