I have been experimenting with neural networks these days. I have come across a general question regarding the activation function to use. This might be a well known fact to
for linear regression type of problem, you can simply create the Output layer without any activation function as we are interested in numerical values without any transformation.
more info :
https://machinelearningmastery.com/regression-tutorial-keras-deep-learning-library-python/
for classification : You can use sigmoid, tanh, Softmax etc.