Details
-
Test
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
The current test assumes that Impurity.calculate() returns the variance correctly. A better approach would be to test if the variance returned equals the variance that we can manually verify on a toy data and tree.
Attachments
Issue Links
- duplicates
-
SPARK-16307 Improve testing for DecisionTree variances
- Resolved