Uroš Bojanić created SPARK-59202:
------------------------------------
Summary: 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
Affects Versions: 4.4.0
Reporter: Uroš Bojanić
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]