-
Notifications
You must be signed in to change notification settings - Fork 14
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
PyTorch migration: Finishing touches #187
Conversation
The previous explanation was taken from FATE and does not correctly describe the FETA approach.
e4364f2
to
31a4a4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just found a minor typo. The cross-referencing suggestion is not that important.
The documentation of the scoring approach is now consistently delegated to the docstring of the scoring module. I think that is better, even if it is a bit harder for the user to find the descripütion. Duplicate documentation would just get out of sync and increases the friction for improvements. The class references should make it easy enough to find the relevant documentation.
This is somewhat contrary to the comment I wrote in the general choice test. I have since noticed a similar issue with RankNet in the tests. It seems that SELU just works better, at least for these tiny toy problems. Its already the default for the other pytorch based estimators. I think it makes sense to use it as the default for CmpNet as well.
It can be useful to compare the network sizes that are used for the different estimators at a glance. The CmpNet test specifications already list the `n_hidden` and `n_unit` arguments even though they match the default values. This change makes the specifications more consistent.
I have added them in alphabetical order, which is why the order has changed in `discretechoice.rst`.
a293d1b
to
16a4327
Compare
I fixed the typo, added cross-referencing, fixed the The references are not rendered as links. Sphinx gives some unrelated warnings, but does not complain about the references. It might be a configuration option. The sphinx warnings are related to the docstring indentation of some of the older estimators. I think the they could be fixed by using the latest version of The full access path should still make it easier to find the relevant documentation. |
Thank you for the review :) |
Description
This collects some misc fixes, changes and updates regarding the pytorch migration. I have updated the status in the README. The pytorch version does not have feature parity, but it is now at a point where it should be a viable replacement for at least some of the use cases.
Motivation and Context
Part of the ongoing pytorch migration.
How Has This Been Tested?
I ran the test suite and used our set of linters.
Does this close/impact existing issues?
Related to #125. I think the issue can be closed once the pytorch migration branch has been merged into master.
Types of changes
This contains various documentation changes as well as a breaking change to the CmpNet estimators.
Checklist: