HyukjinKwon opened a new pull request, #730:
URL: https://github.com/apache/spark-connect-rust/pull/730
### What changes were proposed in this pull request?
The doc comment of the Rust `BisectingKMeansModel::compute_cost` now notes
that PySpark deprecates `computeCost`. PySpark warns a FutureWarning: it was
deprecated in 3.0.0 and will be removed in future versions, in favor of
`ClusteringEvaluator`, and the cost on the training dataset is in the training
summary (`training_cost`).
A post-merge review of the typed clustering models (#684) noted it. The two
other notes of that review, PySpark's defaults of `residuals` ("deviance") and
`describe_topics` (10), are already in their doc comments.
### Why are the changes needed?
So that the Rust API's docs say what PySpark says of the member.
### Does this PR introduce _any_ user-facing change?
No, docs only.
### How was this patch tested?
`cargo fmt --check`. It changes a doc comment only.
### 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]