Created
April 23, 2020 14:46
-
-
Save khannay/a1c65d9ecb6dfe97744e23d58ebe4a6d to your computer and use it in GitHub Desktop.
data_lorenz
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
# Generate some data to fit, and add some noise to it | |
data=predict_adjoint([1.0,0.0,0.0,10.0,28.0,8.0/3]) | |
σN=0.05 | |
data+=σN*randn(size(data)) | |
function loss_adjoint(param) | |
prediction = predict_adjoint(param) | |
loss = sum(abs2,prediction - data) | |
loss | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment