[jira] [Commented] (SPARK-13449) Naive Bayes wrapper in SparkR

2016-03-22 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-13449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206662#comment-15206662
 ] 

Apache Spark commented on SPARK-13449:
--

User 'mengxr' has created a pull request for this issue:
https://github.com/apache/spark/pull/11890

> 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, 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, ...)
> {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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-13449) Naive Bayes wrapper in SparkR

2016-03-02 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-13449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177298#comment-15177298
 ] 

Apache Spark commented on SPARK-13449:
--

User 'yinxusen' has created a pull request for this issue:
https://github.com/apache/spark/pull/11486

> 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, 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, ...)
> {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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-13449) Naive Bayes wrapper in SparkR

2016-02-23 Thread Xusen Yin (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-13449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15158542#comment-15158542
 ] 

Xusen Yin commented on SPARK-13449:
---

Sure, I'll do it tomorrow.

2016年2月23日星期二,Xiangrui Meng (JIRA)  写道:



-- 
Cheers
---
Xusen Yin(尹绪森)
LinkedIn: https://cn.linkedin.com/in/xusenyin


> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org