Machine Learning08:Neural Networks Ⅱ

cost function

binary classification 1 output unit

multi-class classification(k classes) k output units