model.add(Dense(20,input_dim=13,activation='relu'))

model.add(Dense(10,activation='relu'))

when we write code like this to add hidden layers in neural network then :

1. what this 20,10 values actually represent... are these neurons in hidden layers or units.. but units of what?

2.How we decide the above numbers.

3. Generally, many researchers take half the quantity (like 10 ) in the second hidden layer, why so?

More Kuldeep Narayan Tripathi's questions See All
Similar questions and discussions