Skip to content

Commit 04dab4b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0803926 commit 04dab4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

machine_learning/loss_functions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ def kullback_leibler_divergence(y_true: np.ndarray, y_pred: np.ndarray) -> float
662662
kl_loss = y_true * np.log(y_true / y_pred)
663663
return np.sum(kl_loss)
664664

665+
665666
def root_mean_squared_error(y_true, y_pred):
666667
"""
667668
Root Mean Squared Error (RMSE)

0 commit comments

Comments
 (0)