Created
August 6, 2023 16:16
-
-
Save vnegi10/27c5e499de3d3b00d5f20fd1f36f722b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get_loss(flux_model, x_in, y_in) | |
y_model = flux_model(x_in) | |
mse_error = Flux.mse(y_model, y_in) | |
return mse_error | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment