We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac4d740 commit fa50812Copy full SHA for fa50812
test/native.jl
@@ -30,7 +30,7 @@ using MLUtils, OptimizationOptimisers
30
31
x0 = (-pi):0.001:pi
32
y0 = sin.(x0)
33
-data = MLUtils.DataLoader((x0, y0), batchsize = 100)
+data = MLUtils.DataLoader((x0, y0), batchsize = 126)
34
function loss(coeffs, data)
35
ypred = [evalpoly(data[1][i], coeffs) for i in eachindex(data[1])]
36
return sum(abs2, ypred .- data[2])
0 commit comments