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

RJ Nowling commented on SPARK-5328:
-----------------------------------

The Python API for Naive Bayes is located in 
python/pyspark/mllib/classification.py .  The Python implementation calls the 
Scala implementation for training through the interface in 
mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala .

The classes in classification.py will need to be updated (with additional pydoc 
tests), a new method will need to be added to PythonMLLibAPI.scala, and the 
Python portion of docs/mllib-naive-bayes.md will need to be updated.



> Update PySpark MLlib NaiveBayes API to take model type parameter for 
> Bernoulli fit
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-5328
>                 URL: https://issues.apache.org/jira/browse/SPARK-5328
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: Leah McGuire
>            Priority: Minor
>              Labels: mllib
>
> [SPARK-4894] Adds Bernoulli-variant of Naive Bayes adds Bernoulli fitting to 
> NaiveBayes.scala need to update python API to accept model type parameter.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to