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

   ### What changes were proposed in this pull request?
   
   In the Rust ML API, `FPGrowth`, `FPGrowthModel`, `ALS`, `ALSModel` and the 
six evaluators load with `load(session, path)`, as PySpark's `load` does over 
Spark Connect. They already save with `write()`. A loaded `ALSModel` reads its 
rank from the server, as PySpark's does.
   
   ### Why are the changes needed?
   
   For parity with `pyspark.ml.fpm`, `pyspark.ml.recommendation` and 
`pyspark.ml.evaluation` 4.3.0.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, new Rust APIs.
   
   ### How was this patch tested?
   
   `scripts/capture_fpm_recommendation_evaluation_golden.py` captures a golden 
from official PySpark 4.3.0. It uses the configurations of 
`frequent_patterns.json`, `als.json` and `evaluators.json` and holds the 
members of the models and evaluators and their 16 save and load round trips. 
The new `e2e_fpm_recommendation_evaluation.rs` compares all of it live.
   
   ### 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