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

Inconsistent use of "lr" (learning rate), "step_size" and "step" #1256

Closed
ninamiolane opened this issue Dec 18, 2021 · 3 comments · Fixed by #1274
Closed

Inconsistent use of "lr" (learning rate), "step_size" and "step" #1256

ninamiolane opened this issue Dec 18, 2021 · 3 comments · Fixed by #1274

Comments

@ninamiolane
Copy link
Collaborator

The variables "lr" (learning rate), "step_size" and "step" are used in the API interchangeably. The variable "tau" is also introduced in Frechet mean. We should make this naming consistent, and for example:

  • use "step_size" for integration schemes (because "step" is also used as a string to denote which type of step is taken, e.g. euler, rk4, etc)
  • use "lr" for optimization schemes.
@nguigs
Copy link
Collaborator

nguigs commented Dec 22, 2021

  • Do you mean that dt in integrator should be renamed step_size ?
  • I find lr a bit cryptic, it should be clear that this is only an initial size that is then adapted.

@nguigs nguigs self-assigned this Dec 22, 2021
@ninamiolane
Copy link
Collaborator Author

Oh I hadn't seen that we had dt too. And Ok for lr being too cryptic.

How about:

  • dt in integrator.py
  • step_size or initial_step_size everywhere else?

@nguigs
Copy link
Collaborator

nguigs commented Jan 11, 2022

I chose init_step_size because it is usually not fixed and to avoid long names

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

Successfully merging a pull request may close this issue.

2 participants