What does the 'units' parameter in the 'Dense' function signify?

Does units correlate with the number of features? Also, how does units get determined?

Similar questions asked earlier were not answered adequately.

Hi @Gautam_Ashok ,

The units refer to the neurons that make up a layer within a neural network. How many units to use is based on the network architect who designs the network. You will get to know some of the techniques used in network design in Course2 of the Neural Network and Deep learning specialization.

The features are the X vector from the input layer. If you refer back to the lecture video, you would see how neural network is structured layer by layer.

Do let’s know if we could help further to clarify the concept.

1 Like

Hi! Could you give me some reading about units parameter in Dense? So that I have a general idea about units in dense