[ 
https://issues.apache.org/jira/browse/SPARK-62315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruifeng Zheng reassigned SPARK-62315:
-------------------------------------

    Assignee: Ruifeng Zheng

> Delegate standard LogisticRegression operations to Rust
> -------------------------------------------------------
>
>                 Key: SPARK-62315
>                 URL: https://issues.apache.org/jira/browse/SPARK-62315
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect
>    Affects Versions: connect-rust-4.4.0
>            Reporter: Ruifeng Zheng
>            Assignee: Ruifeng Zheng
>            Priority: Major
>             Fix For: connect-rust-4.4.0
>
>
> Standard pyspark.ml.classification.LogisticRegression currently retains 
> upstream Python orchestration for fit, transform, model access, evaluation, 
> and persistence, although spark-connect-rust already implements these 
> operations in its Rust ML API and PyO3 bindings.
> Delegate these operations to the existing Rust implementation for 
> LogisticRegression, LogisticRegressionModel, and their four summary classes. 
> Keep Python Params, setters, copying, pickling, and subclass hooks, and 
> synchronize parameters when native operations consume them. Preserve Rust 
> model-reference lifetimes and session handling.
> The public Python import paths should remain compatible with PySpark. 
> Preserve the upstream classification definitions unchanged, and retain 
> existing fork-native imports as aliases to the same public classes. Add no 
> Python runtime dependencies, including protobuf or gRPC.
> Validate native routing, parameter behavior, model persistence and lifetime, 
> dependency isolation, and composition with standard Pipeline and 
> CrossValidator APIs. Run upstream standard pyspark.ml tests against the 
> drop-in package so they exercise the shared Rust ML core. Deprecated upstream 
> pyspark.ml.connect algorithms are outside the scope.
> Pull request: https://github.com/apache/spark-connect-rust/pull/888
> Design and acceptance criteria: 
> https://github.com/zhengruifeng/spark-connect-rust/blob/prototype/standard-logistic-rust/specs/features/standard-logistic-rust.md



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to