Loss

From
Revision as of 09:31, 6 August 2023 by BPeat (talk | contribs)
Jump to: navigation, search

YouTube search... ...Google search

There are many options for loss in Tensorflow (Keras). The actual optimized objective is the mean of the output array across all datapoints. A loss function gives a distance between a model's predictions to the ground truth labels. This is the distance (loss value) that the network aims to minimize; the lower this value, the better the current model describes our training data set. Click here For a list of Keras loss functions. Loss is one of the two parameters required to compile a model...



model.compile(optimizer='sgd'. loss='mean_squared_error')