-
Notifications
You must be signed in to change notification settings - Fork 177
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
Remove experimental SmoothedHingeLoss training task #455
base: master
Are you sure you want to change the base?
Conversation
ashelkovnykov
commented
Feb 14, 2020
- Experimental results when comparing Smoothed Hinge Loss to Logistic Regression were substantially worse and also increased training time significantly due to slower convergence
- Removed GLMLossFunction and derived classes, since all training tasks in Photon ML are GLM tasks
- Experimental results when comparing Smoothed Hinge Loss to Logistic Regression were substantially worse and also reduced training time significantly due to slower convergence - Removed GLMLossFunction and derived classes, since all training tasks in Photon ML are GLM tasks
@cmjiang @yunboouyang @lguo |
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.
LGTM
@@ -52,6 +52,8 @@ object SparkSessionConfiguration { | |||
classOf[GeneralizedLinearModel], | |||
classOf[GeneralizedLinearOptimizationProblem[_]], | |||
classOf[GLMOptimizationConfiguration], | |||
classOf[HessianDiagonalAggregator], |
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.
Why do we need to add this class?
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.
I noticed that we had the ValueAndGradientAggregator
and HessianVectorAggregator
being registered with Kryo, but not the HessianDiagonalAggregator
or the HessianMatrixAggregator
. Since all four function the same way, it stands to reason that they should either all be registered or none of them be registered. Since objects of these four class types will for sure be distributed, therefore they should all be registered.
Apparently, Kryo was able to figure this out on its own, but I think it best to make it explicit.