August 2017
Intermediate to advanced
288 pages
8h 6m
English
The cost function is primarily used to evaluate the current performance of the model by comparing the true class labels (y_true_cls) with the predicted class labels (y_pred_cls). Based on the current performance, the optimizer then fine-tunes the network parameters, such as weights and biases, to further improve its performance.