July 2017
Beginner to intermediate
715 pages
17h 3m
English
Builder classes are common in DL4J. In the previous example, the NeuralNetConfiguration.Builder class is used. The methods used here are but a few of the many that are available. In the following table, we describe several of them:
| Method | Usage |
| iterations | Controls the number of optimization iterations performed |
| activation | This is the activation function used |
| weightInit | Used to initialize the initial weights for the model |
| learningRate | Controls the speed the model learns |
| List | Creates an instance of the NeuralNetConfiguration.ListBuilder class so that we can add layers |
| Layer | Creates a new layer |
| backprop | When set to true, it enables backpropagation |
| pretrain | When set to true, it will pretrain the ... |
Read now
Unlock full access