Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: ML
    • Labels:
      None

      Description

      val numClasses = getNumClasses(dataset) in NaiveBayes are used to check the length of thresholds only when positiveLabel && isDefined(thresholds) is true.
      In the case that positiveLabel is true and isDefined(thresholds) is false, we don't need to calculate getNumClasses which may cause a pass on the whole data.

        Attachments

          Activity

            People

            • Assignee:
              podongfeng zhengruifeng
              Reporter:
              podongfeng zhengruifeng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: