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

Consistency in naming convention #17

Closed
mohammadbashiri opened this issue Nov 18, 2019 · 4 comments
Closed

Consistency in naming convention #17

mohammadbashiri opened this issue Nov 18, 2019 · 4 comments

Comments

@mohammadbashiri
Copy link
Collaborator

Inconsistency from one table to another: for Model() table we have configurator, config_hash, and config_obj which could be more descriptive like other tables.
Inconsistency within one table: for Trainer() table we have both trainer and training. I suggest using trainer only.

@eywalker
Copy link
Member

I totally agree with these suggestions. Let’s address them.

@KonstantinWilleke
Copy link
Collaborator

Yes these are good points, will address them in my next PR.
Right now, the functions all have three different names:
configurator(in the table), model_fn (in the builder)
dataset_loader (for datasets)
training_function (for trainer).

I'd suggest the following:
we go with _fn and _config for all of the parts. Also in the Table definitions. I think it's not too late for that.

so:
model_fn and model_config
dataset_fn ..
trainer_fn ..

What do you think?

@mohammadbashiri mohammadbashiri mentioned this issue Dec 10, 2019
2 tasks
@mohammadbashiri
Copy link
Collaborator Author

  • dataloader -> dataloaders

@mohammadbashiri
Copy link
Collaborator Author

Addressed in PR #26

Production-ready release automation moved this from To do to Done Dec 11, 2019
mohammadbashiri pushed a commit that referenced this issue Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants