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

Better control numBins of curves in BinaryClassificationMetrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 3.0.0
    • None
    • ML
    • None

    Description

      In case of large datasets with tens of thousands of partitions, current curve down-sampling method tend to generate much more bins than the value set by #numBins.

      Since in current impl, grouping is done within partitions, that is to say, each partition contains at least one bin.

      A more reasonable way is to bring the grouping op forward into the sort op, then we can directly set the #bins as the #partitions, and regard one partition as one bin.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              podongfeng Ruifeng Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: