spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yanbo Liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-9308) ml.NaiveBayesModel support predicting class probabilities
Date Fri, 24 Jul 2015 10:56:04 GMT

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

Yanbo Liang commented on SPARK-9308:
------------------------------------

Yes, It can reuse that code.
But the core problem is how to make ml.NaiveBayes inherit from ProbabilisticClassificationModel
or ClassificationModel.

> ml.NaiveBayesModel support predicting class probabilities
> ---------------------------------------------------------
>
>                 Key: SPARK-9308
>                 URL: https://issues.apache.org/jira/browse/SPARK-9308
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Yanbo Liang
>            Priority: Minor
>
> ml.LogisticRegressionModel inherit from ProbabilisticClassificationModel and can predict
class probabilities.
> Other models such as Decision Trees and Random Forest also will support predicting probabilities
which is working under SPARK-3727.
> This JIRA make NaiveBayesModel support predicting class probabilities.



--
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