-
- Downloads
[SPARK-5972] [MLlib] Cache residuals and gradient in GBT during training and validation
The previous PR https://github.com/apache/spark/pull/4906 helped to extract the learning curve giving the error for each iteration. This continues the work refactoring some code and extending the same logic during training and validation. Author: MechCoder <manojkumarsivaraj334@gmail.com> Closes #5330 from MechCoder/spark-5972 and squashes the following commits: 0b5d659 [MechCoder] minor 32d409d [MechCoder] EvaluateeachIteration and training cache should follow different paths d542bb0 [MechCoder] Remove unused imports and docs 58f4932 [MechCoder] Remove unpersist 70d3b4c [MechCoder] Broadcast for each tree 5869533 [MechCoder] Access broadcasted values locally and other minor changes 923dbf6 [MechCoder] [SPARK-5972] Cache residuals and gradient in GBT during training and validation
Showing
- mllib/src/main/scala/org/apache/spark/mllib/tree/GradientBoostedTrees.scala 29 additions, 13 deletions...la/org/apache/spark/mllib/tree/GradientBoostedTrees.scala
- mllib/src/main/scala/org/apache/spark/mllib/tree/loss/AbsoluteError.scala 4 additions, 6 deletions...cala/org/apache/spark/mllib/tree/loss/AbsoluteError.scala
- mllib/src/main/scala/org/apache/spark/mllib/tree/loss/LogLoss.scala 4 additions, 7 deletions...main/scala/org/apache/spark/mllib/tree/loss/LogLoss.scala
- mllib/src/main/scala/org/apache/spark/mllib/tree/loss/Loss.scala 3 additions, 5 deletions...rc/main/scala/org/apache/spark/mllib/tree/loss/Loss.scala
- mllib/src/main/scala/org/apache/spark/mllib/tree/loss/SquaredError.scala 4 additions, 6 deletions...scala/org/apache/spark/mllib/tree/loss/SquaredError.scala
- mllib/src/main/scala/org/apache/spark/mllib/tree/model/treeEnsembleModels.scala 61 additions, 16 deletions...rg/apache/spark/mllib/tree/model/treeEnsembleModels.scala
Please register or sign in to comment