Dense Layer (ML)

up:: Machine Learning

Dense Layer comes from Keras Python library.

Dense Layer is a type of Neural Network.

Most simple ML applications use Dense Layers.

“each neuron in dense layer recieves input from all neurons of its previous layer”

I don’t understand what that means but it is not crucial at the moment.

Example

In TensorflowJS:

model.add(tf.layers.dense({inputShape: [1], units: 1, useBias: true}));

A dense layer multiplies its inputs by a matrix called weights. It then adds a number (called bias) to the result.