Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

computing sharpness of a minima #3

Open
Olwn opened this issue Dec 26, 2017 · 2 comments
Open

computing sharpness of a minima #3

Olwn opened this issue Dec 26, 2017 · 2 comments

Comments

@Olwn
Copy link

Olwn commented Dec 26, 2017

hi Nitish,
Can you release the code of computing sharpness? I want to use the metric in my paper.

@Olwn Olwn closed this as completed Dec 26, 2017
@Olwn Olwn reopened this Dec 26, 2017
@tatsukawa
Copy link

tatsukawa commented Jan 27, 2018

I also want to know how to implement this metric.
Of course, I know the following description at the README.

The code for computing the sharpness of a minima (Metric 2.1) will be released soon. As is the case with the parametric plots, the code is quite straightforward. The code in Keras' pull-request #3064 along with SciPy's L-BFGS-B optimizer can be used in conjunction to compute the values easily

Reading your paper, I could not understand the (3) equation.
Why do the constraints depend on x? In A is I_n(nxn identity matrix), I may be wrong but the (4) equation roughly is max(f(x±ε(x+Az))). z is the nx1 matrix whose elements are initialized 1. I think the equation should be max(f(x±εAz)).

In addition, I want to ask you how to decide the range randomly generating A.

@Billy1900
Copy link

Have you known how to implement the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants