cjlin1 / simpleNN

BSD 3-Clause "New" or "Revised" License
48 stars 16 forks source link

About CSIE7435 proj. 6 Levenberg-Marquardt method #12

Open chunkaihwang opened 4 years ago

chunkaihwang commented 4 years ago

In the CSIE7435 Project 6 slides, It needs to use the Newton method with and W/O Levenberg-Marquardt method. But How to specify the parameters with simpleNN python implementation? The ReadME.md is not mentioned.

ericliu8168 commented 4 years ago

In README of Python implementation, https://github.com/cjlin1/simpleNN/tree/master/Python#arguments You can see the description: In this section, we show option/parameters that are solely for the Python implementation. For other arguments see details in README of the MATLAB directory of SimpleNN https://github.com/cjlin1/simpleNN/tree/master/MATLAB.

The Newton methods argumentation in README of MATLAB implementation, https://github.com/cjlin1/simpleNN/tree/master/MATLAB#newton-method -lambda: the initial lambda for the Levenberg-Marquardt (LM) method.

So in Python you can do Newton methods without LM by setting --lambda 0

Best Regards, TAs

On Sat, May 23, 2020 at 3:22 PM chunkaihwang notifications@github.com wrote:

In the CSIE7435 Project 6 slides, It needs to use the Newton method with and W/O Levenberg-Marquardt method. But How to specify the parameters with simpleNN python implementation? The ReadME.md is not mentioned.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cjlin1/simpleNN/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3TSSHL4A3WZJLZA7BUTA3RS52UJANCNFSM4NIKV5ZA .