Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Currently, the attained objective function is not computed (for efficiency reasons, as one evaluation requires one full pass through the data).
For diagnostics and comparing different algorithms, we should however provide this as a separate function (one MR).
Doing this requires the loss and regularizer functions themselves, not only their gradients (which are currently in the Gradient class). How about adding the new function directly on the corresponding models in classification/* and regression/* ? Any thoughts?
Attachments
Issue Links
- relates to
-
SPARK-5256 Improving MLlib optimization APIs
- Resolved
-
SPARK-18303 CLONE - Improving MLlib optimization APIs
- Resolved