Ruifeng Zheng created SPARK-62403:
-------------------------------------
Summary: Delegate standard LinearRegression operations to Rust
Key: SPARK-62403
URL: https://issues.apache.org/jira/browse/SPARK-62403
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: connect-rust-4.4.0
Reporter: Ruifeng Zheng
Standard pyspark.ml.regression.LinearRegression currently constructs ML
requests through upstream Python helpers, while the Rust client and PyO3
bindings already implement the estimator, model, summaries, evaluation, and
persistence.
Follow the LogisticRegression and LinearSVC migrations by publishing
LinearRegression, LinearRegressionModel, LinearRegressionSummary, and
LinearRegressionTrainingSummary through the existing native publication
mechanism. Keep Python signatures, Params, subclass hooks, copying, and
persistence behavior, and synchronize parameter changes eagerly. Retain
Python-overridden defaults in the native estimator, with copying and
garbage-collection support.
Keep the unchanged upstream regression definitions under ml/_upstream, enforce
their pinned provenance, and preserve compatibility aliases and type
information. Extend shared migration tests to cover regression, including
native request routing, optional dependency isolation, summaries, copying, and
model lifetime. Validate the standard API using Apache Spark's upstream
regression tests over Spark Connect; exclude deprecated pyspark.ml.connect
algorithms.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]