Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16307

Improve testing for DecisionTree variances

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0
    • 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

          Activity

            People

              MechCoder Manoj Kumar
              MechCoder Manoj Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: