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: [email protected]
For additional commands, e-mail: [email protected]