Mini Batch with OptaxSolver #150
Unanswered
jecampagne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Let me give you a snippet
gives
Now make a regression Y = Phi Theta using Adam
Of course you can try a least squared min-norm to get theta but even here the matrix are already sizeable. Now, with the LSQ solution I get a train MSE error computed
which is equal to `DeviceArray([[5.98907097e-28]]l and is fine as Nd>>ns.
While with Adam I get
leads to
DeviceArray([[0.01393647]])
which is far worse.I wander if there is some batch options or some parameters to tune to get better results. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions