You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AutoGrad through model does not work properly. Does this work with one of the other autodiff packages http://www.juliadiff.org/
using MLMetrics
functiontmp(s::AutoGrad.Rec{Float64})
model =SModel(data[:, [1,2,3]], data[:, 4], nothing,s*ones(3), L2DistLoss(), L2Penalty())
learn!(model)
MLMetrics.mean_squared_error(data[:, 4],predict(model, data[:, [1,2,3]]))
endtmp(1.0)
g=AutoGrad.grad(tmp)
g(1.0)
# work around using DiffEqDiffTools
DiffEqDiffTools.finite_difference_derivative(tmp,1.0)
The text was updated successfully, but these errors were encountered:
AutoGrad through model does not work properly. Does this work with one of the other autodiff packages http://www.juliadiff.org/
The text was updated successfully, but these errors were encountered: