Questions tagged [weight-initialization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

problem with vanishing/exploding gradient problems solution

I have few doubts around vanishing/exploding gradients. The problem with vanishing gradient is, When the weights are randomly initialized in a deep network, During back propagation initial layers ...
1
vote
1answer
30 views

How can I have the same initialization for all my networks?

I want to have the same weights for layer initializations in all my networks, so that when I'm comparing their first epoch loss they all start from the same value. Is there a way in keras to do this? ...
0
votes
0answers
15 views

How to select initializers for DDQN in Keras?

I'm using DDQN for OpenAI Gym games (like CartPole, MountainCar). It occurred to me that the weight/bias initialization might have a reasonable impact on how quickly the network starts to learn so I ...
0
votes
0answers
68 views

save initial weights of model in keras

I am trying to save initial weights of the autoencoder model. I was verifying if I have saved them properly by two methods. In the first method I have used autoencoder.get_weights() and in the ...
0
votes
0answers
10 views

Initialisation of weights for input sensitivity

Iam trying to architect a neural network. I have 3 inputs and I require the output to be as sensitive as possible to changes in the input. The outputs are calculated using 10 hidden ReLU layers and a ...
1
vote
0answers
21 views

A model that only works by setting all initial weights to zero

In this model from MusicNet, they set the initial weights of their neural network to all zeros. ...
0
votes
0answers
14 views

cost/loss function being a multi-well function in neural networks

In a 0 or 1 binary classification problem using neural networks, given the activation function is taken as sigmoid, if one takes the cost/loss function as sum of square of differences, the loss ...
2
votes
3answers
74 views

weight training speed too slow in CNNs

I'm writing my own CNN code from scratch. Though I got fast, converged and satisfactory results, the trained weights change very little in value (while cost/loss function drops in time rapidly in a ...
3
votes
1answer
37 views

How large of a value should a weight have in a neural network?

If you're assigning random values to the weights in a neural network before back-propagation, is there a certain maximum or minimum value for each weight ( for example, 0 < w < 1000 ) or can ...
1
vote
1answer
54 views

Weights initialization in Neural Network

I was viewing code for custom neural network for sentiment analysis. It had 3 layers (1 hidden layer). I am more concerned with weight initialization for the layers ...
0
votes
2answers
87 views

C++ return array from function

I would like to implement machine learning algorithm in C++ without using any C++ machine learning library. So I'm writing this initializer function for generating zero matrices but can't figure out ...
2
votes
0answers
25 views

What are the reasons for drawing initial neural network weights from a Gaussian?

Are there theoretical or empirical reasons for drawing initial weights of a multilayer perceptron from a Gaussian rather than from, say, a Cauchy distribution?
4
votes
2answers
2k views

what is difference between the DDQN and DQN?

I think I did not understand what is the difference between DQN and DDQN in implementation. I understand that we change the traget network during the running of DDQN but I do not understand how it is ...
4
votes
2answers
1k views

What are the cases where it is fine to initialize all weights to zero

I've taken a few online courses in machine learning, and in general, the advice has been to choose random weights for a neural network to ensure that your neurons don't all learn the same thing, ...