We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://towardsdatascience.com/weight-initialization-techniques-in-neural-networks-26c649eb3b78
e.g. our DenseLayer implement the HE-Weight Initialization. In some cases its better to use XAVIER
private void initialize() { double standartDeviation = Math.sqrt(2.0 / (weights.get().getRows() + weights.get().getCols())); for (int i = 0; i < weights.get().getRows(); i++) { for (int j = 0; j < weights.get().getCols(); j++) { weights.get().set(i, j, random.nextGaussian() * standartDeviation); } } for (int i = 0; i < bias.get().getRows(); i++) { for (int j = 0; j < bias.get().getCols(); j++) { bias.get().set(i, j, 0); } } }
We want to make user decide what kind of initialization he want to use. XAVIER or HE.
new NetworkBuilder() .withExecutionMode(singleThread) .withEpochs(5) .withLearningRates(0.001f, 0.001f) **.withWeightInitialization(Initialization.HE)** .loadModel("mnist_trained.edux") .fit(trainLoader, testLoader);
The text was updated successfully, but these errors were encountered:
I would like to try on this one as well!
Sorry, something went wrong.
Hi @Samyssmile where can we discuss about this one? I'm having a bit trouble on knowing how to start. This Initialization is related to the task?
We have our Discord Chat: https://discord.gg/9aD4pDTQ @manumafe98
Joined!
No branches or pull requests
Educational
https://towardsdatascience.com/weight-initialization-techniques-in-neural-networks-26c649eb3b78
Task
e.g. our DenseLayer implement the HE-Weight Initialization. In some cases its better to use XAVIER
We want to make user decide what kind of initialization he want to use. XAVIER or HE.
The text was updated successfully, but these errors were encountered: