spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui Meng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-13449) Naive Bayes wrapper in SparkR
Date Tue, 23 Feb 2016 08:20:18 GMT
Xiangrui Meng created SPARK-13449:
-------------------------------------

             Summary: Naive Bayes wrapper in SparkR
                 Key: SPARK-13449
                 URL: https://issues.apache.org/jira/browse/SPARK-13449
             Project: Spark
          Issue Type: New Feature
          Components: ML, SparkR
            Reporter: Xiangrui Meng
            Assignee: Xusen Yin


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

{code}
## S3 method for class 'formula'
naiveBayes(formula, data, laplace = 0, ..., subset, na.action = na.pass)
## Default S3 method:
naiveBayes(x, y, laplace = 0, ...)


## S3 method for class 'naiveBayes'
predict(object, newdata,
  type = c("class", "raw"), threshold = 0.001, eps = 0, ...)
{code}

It should be easy for us to match the parameters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message