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

Bernoulli NaiveBayes should validate data

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • MLlib
    • None

    Description

      Bernoulli NaiveBayes expects input features to take values 0 or 1, but it does not actually check that. It should check and throw an exception if it finds invalid values.

      Attachments

        Activity

          People

            lmcguire Leah McGuire
            josephkb Joseph K. Bradley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: