[
https://issues.apache.org/jira/browse/SPARK-59202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uroš Bojanić resolved SPARK-59202.
----------------------------------
Fix Version/s: 4.4.0
Resolution: Fixed
Issue resolved by pull request 58492
[https://github.com/apache/spark/pull/58492]
> Enable save/load round-trip tests in Java ML tree suites
> --------------------------------------------------------
>
> Key: SPARK-59202
> URL: https://issues.apache.org/jira/browse/SPARK-59202
> Project: Spark
> Issue Type: Test
> Components: ML, Tests
> Affects Versions: 4.4.0
> Reporter: Uroš Bojanić
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.4.0
>
>
> Six Java ML tree test suites (JavaDecisionTree/GBT/RandomForest Classifier
> and Regressor suites) carried commented-out save/load round-trip tests with a
> 'TODO: Add test once save/load are implemented. SPARK-6725' marker. Save/load
> has long shipped (MLWritable/MLReadable). This enables those tests. The
> commented code was obsolete (it used the old save(SparkContext, path) mllib
> API and referenced stale variable names), so each block is rewritten to the
> current save(path)/load(path) API and verified to pass. Adds Java-facing
> save/load coverage for the tree models.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]