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

Improve testing for DecisionTree variances

    XMLWordPrintableJSON

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: