HyukjinKwon opened a new pull request, #685:
URL: https://github.com/apache/spark-connect-rust/pull/685

   ### What changes were proposed in this pull request?
   
   The Rust param accessors of the feature models, `MaxAbsScaler`, 
`StandardScaler`, `StringIndexer`, `VectorAssembler`, FPGrowth, PrefixSpan, ALS 
and the six evaluators are now generated by `ml_params!` from PySpark's params 
(`scripts/gen_rust_params_table.py`). That is 34 classes. Each class gets the 
`PARAM_NAMES` of its PySpark class, and `tests/ml_params_table.rs` now counts 
them as converted.
   
   ### Why are the changes needed?
   
   For parity with the params of `pyspark.ml` 4.3.0. The models gain the 
getters, and the setters, that PySpark's model classes have.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. The models gain new getters and setters. `ALS::seed()` returns an 
`i64`; when unset, it gives the server's default, the hash of the JVM class 
name. The other existing accessors keep their types.
   
   ### How was this patch tested?
   
   `ml_params_table.rs` and the offline goldens (`ml_features_golden`, 
`als_golden`, `evaluators_golden`, `frequent_patterns_golden`). The live ML 
suites pass against a Spark 4.3.0 server.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5
   
   This pull request and its description were written by Isaac.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to