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

Naive Bayes wrapper in SparkR

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • ML, SparkR
    • None

    Description

      Following SPARK-13011, we can add a wrapper for naive Bayes in SparkR. R's naive Bayes implementation is from package e1071 with signature:

      ## S3 method for class 'formula'
      naiveBayes(formula, data, laplace = 0, ..., subset, na.action = na.pass)
      ## Default S3 method, which we don't want to support
      # naiveBayes(x, y, laplace = 0, ...)
      
      
      ## S3 method for class 'naiveBayes'
      predict(object, newdata,
        type = c("class", "raw"), threshold = 0.001, eps = 0, ...)
      

      It should be easy for us to match the parameters.

      Attachments

        Issue Links

          Activity

            People

              yinxusen Xusen Yin
              mengxr Xiangrui Meng
              Yanbo Liang Yanbo Liang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: