Deep Neural Network: Output a Magnitude, not merely a Category
You simply need to make your last layer have 1 neuron and no activation function, so that the output of the network is a single number.

Other than that make sure that you select a loss function for regression (e.g. mean absolute error, mean squared error, etc.)