Activation functions can be Sigmoid, Tanh, Relu, Softmax, etc. Loss functions can be MSE, Binary Cross Entropy, etc code example
Example: loss funfction suited for softmax
model.compile(loss='categorical_crossentropy', optimizer=opt, metrics=['accuracy'])