#####cost function
binary classification 1 output unit
multi-class classification(k classes) k output units