You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ru...@apache.org on 2021/06/07 03:27:10 UTC

[spark] branch master updated (d8e37a8 -> ffc61c6)

This is an automated email from the ASF dual-hosted git repository.

ruifengz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git.


    from d8e37a8  [SPARK-35100][ML][FOLLOWUP] AFT cleanup
     add ffc61c6  [SPARK-35619][ML] Refactor LinearRegression - make huber support virtual centering

No new revisions were added by this update.

Summary of changes:
 .../ml/optim/aggregator/HuberAggregator.scala      | 250 ----------------
 ...Aggregator.scala => HuberBlockAggregator.scala} |  82 +++---
 .../optim/aggregator/LeastSquaresAggregator.scala  | 314 ---------------------
 .../aggregator/LeastSquaresBlockAggregator.scala   | 128 +++++++++
 .../spark/ml/regression/LinearRegression.scala     |  97 ++++---
 .../ml/optim/aggregator/HuberAggregatorSuite.scala | 197 -------------
 ...Suite.scala => HuberBlockAggregatorSuite.scala} | 113 +++++---
 ...cala => LeastSquaresBlockAggregatorSuite.scala} | 135 ++++-----
 8 files changed, 349 insertions(+), 967 deletions(-)
 delete mode 100644 mllib/src/main/scala/org/apache/spark/ml/optim/aggregator/HuberAggregator.scala
 copy mllib/src/main/scala/org/apache/spark/ml/optim/aggregator/{HingeBlockAggregator.scala => HuberBlockAggregator.scala} (70%)
 delete mode 100644 mllib/src/main/scala/org/apache/spark/ml/optim/aggregator/LeastSquaresAggregator.scala
 create mode 100644 mllib/src/main/scala/org/apache/spark/ml/optim/aggregator/LeastSquaresBlockAggregator.scala
 delete mode 100644 mllib/src/test/scala/org/apache/spark/ml/optim/aggregator/HuberAggregatorSuite.scala
 copy mllib/src/test/scala/org/apache/spark/ml/optim/aggregator/{HingeBlockAggregatorSuite.scala => HuberBlockAggregatorSuite.scala} (68%)
 rename mllib/src/test/scala/org/apache/spark/ml/optim/aggregator/{LeastSquaresAggregatorSuite.scala => LeastSquaresBlockAggregatorSuite.scala} (51%)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org