Sets the number of iterations through the training set that will be performed. @param epochs the number of iterations
(int epochs)
| 117 | * @param epochs the number of iterations |
| 118 | */ |
| 119 | public void setEpochs(int epochs) |
| 120 | { |
| 121 | if(epochs < 1) |
| 122 | throw new ArithmeticException("Must perform a positive number of epochs"); |
| 123 | this.epochs = epochs; |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | * Returns the number of iterations of updating that will be done |
no outgoing calls