phygnn.utilities.loss_metrics

Loss metrics for PhyGNN

Functions

binary_crossentropy(*args)

Binary crossentropy loss from keras

mae(y_true, y_predicted)

Calculate the Mean Absolute Error (MAE)

mbe(y_true, y_predicted)

Calculate the (absolute) Mean Bias Error (MBE).

mse(y_true, y_predicted)

Calculate the Mean Square Error (MSE)

relative_mae(y_true, y_predicted)

Calculate the relative Mean Absolute Error (MAE)

relative_mbe(y_true, y_predicted)

Calculate the relative Mean Bias Error (MBE)

relative_mse(y_true, y_predicted)

Calculate the relative Mean Squared Error (MSE)