Questions tagged [deeplearning4j]

Deeplearning4j is commercial-grade, open-source, distributed deep-learning library written for Java and Scala. Integrated with Hadoop and Spark, DL4J is designed to be used in business environments, rather than as a research tool.

Deeplearning4j is a deep learning programming library written for Java and the Java virtual machine (JVM) and a computing framework with wide support for deep learning algorithms (such as Boltzmann machine, deep belief net, deep autoencoder, stacked denoising autoencoder and recursive neural tensor network, word2vec, doc2vec, and GloVe).

These algorithms all include distributed parallel versions that integrate with Apache Hadoop and Apache Spark.

For more information: deeplearning4j site, source code, support forum

Related Tags:

413 questions
0
votes
1 answer

DL4J - When using a ComputationGraph, is it possible to get the Class labels from it?

I saw how to do this from a DataSet object, and I saw a setLabel method, and I saw a getLabelMaskArrays, but none of these are what I'm looking for. Am I just blind or is there not a way? Thanks
0
votes
2 answers

Does Eclipse Deeplearning4j provide a JAR file download?

This question comes up a lot on the support channel. People think downloading JAR files would simplify things.
racknuf
  • 444
  • 3
  • 12
0
votes
1 answer

Parsing modified MNIST in the form of CSV for Conv Neural Network

I'm planning on using this modified version of MNIST for benchmarking research, but they are currently in .mat format. So, I've read on StackOverflow that MatlabRecordReader actually isn't that robust, and that it's far smarter to change the data…
Andy
  • 357
  • 2
  • 17
0
votes
1 answer

DL4J/ND4J: Can INDArray instance be reused?

I have a model to train on a large data set that does not fit into RAM. So, basically my plan is to slice the data set creating a DataSet instance with input vectors and associated labels for every chunk. E.g. if I have 1M input vectors/labels I'd…
faraway
  • 428
  • 2
  • 4
  • 15
0
votes
0 answers

ND4J Execution Time

Is ND4J faster than the normal Java arrays? I've done a basic test by initializing a 100x100 ND4J array then printing it, then did the same for a normal array. The execution time of the normal array is 10x faster. Any idea? ND4J code: INDArray a =…
me._
  • 51
  • 1
  • 8
0
votes
1 answer

Deeplearning4j - Can not use UIServer in learning WordVectors?

Now, I am trying to learn GloVe using Deeplearning4j. The learning process itself is good progressing. So, I would like to monitor this learning process with UIServer while referring to this page. On this page, UIServer is enabled with the code…
tekunikaruza
  • 107
  • 9
0
votes
2 answers

Error loading own data set. numClasses and InputSplit

Unexpected exception when load own dataset. The execution of the code from FeaturizedPreSave with just a minor change in the number of samples to be taken into consideration for the neural network produce an exception of Unsupported…
Piastres
  • 1
  • 3
0
votes
1 answer

Extends java class in scala and override method

I'am trying to implement a custom loss function (DL4J), following this code example: https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/misc/lossfunctions/CustomLossL1L2.java. I need…
Theophile Champion
  • 453
  • 1
  • 4
  • 20
0
votes
1 answer

How do I remove dummy variable trap with OneHotencoding

Here is my code for CSV data extraction and transformation: Schema schema = new Schema.Builder() .addColumnsString("RowNumber") .addColumnInteger("CustomerId") .addColumnString("Surname") …
Rahul Raj
  • 3,197
  • 5
  • 35
  • 55
0
votes
1 answer

Deeplearning4j repeated method calls

In many (or most) Deeplearning4j example I have seen, when building a configuration method calls seem to be added to method calls . . . For example: MultiLayerConfiguration conf = new NeuralNetConfiguration.Builder() .seed(rngSeed)…
0
votes
1 answer

DL4J with ComputationGraph : Cosine similarity between layers

Context I am trying to create a model with DL4J. There is two embeddings : one for user and one for item. val conf = new NeuralNetConfiguration.Builder() .updater(new Sgd(0.01)) .graphBuilder() .addInputs("item_input", "user_input") …
Theophile Champion
  • 453
  • 1
  • 4
  • 20
0
votes
1 answer

DeepLearning4J - Acquiring Data and Train Model

I try to create the easiest of a NeuralNetwork and training it with some data: Therefore I created a test.csv with a the following pattern: number,number+1; number2,number2+1 ... I try to make a linear regression with the network... But I do not…
0
votes
1 answer

How to combine two pre-trained Word2Vec models?

I successfully followed deeplearning4j.org tutorial on Word2Vec, so I am able to load already trained model or train a new one based on some raw text (more specifically, I am using GoogleNews-vectors-negative300 and Emoji2Vec pre-trained model).…
Server Khalilov
  • 408
  • 2
  • 5
  • 20
0
votes
1 answer

Why each block in Deep residual network has two convolutional layers instead of one?

This figure shows a basic block of a residual network. What it has two convolutional layers? What will happen when it has only one convolutional layer?
0
votes
1 answer

Deeplearning4j Autoencoder

I couldn't find any full example of an autoencoder in DL4J documentation. I see a good general description of Autoencoders here with a small piece of code for just the MultiLayerConfiguration, but the code is not full. Is there any full example…
me._
  • 51
  • 1
  • 8