Error correction in mae

This commit is contained in:
Adarsh Kumar 2020-02-05 23:32:55 +05:30 committed by GitHub
parent 44a977b7a4
commit b5184553d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ using NNlib: logsoftmax, logσ
mae(, y) mae(, y)
L1 loss function. Computes the mean of absolute error between prediction and true values L1 loss function. Computes the mean of absolute error between prediction and true values
""" """
mae(, y) = sum(abs.(, y)) * 1 // length(y) mae(, y) = sum(abs.(.- y)) * 1 // length(y)
""" """