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

Typo in org.apache.spark.mllib.tree.DecisionTree.isSampleValid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • MLlib

    Description

      I believe this is a typo:

            if ((level > 0) & (parentFilters.length == 0)) {
              return false
            }
      

      Should use "&&" here.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zsxwing Shixiong Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: