spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SparkQA <...@git.apache.org>
Subject [GitHub] spark issue #15149: [SPARK-17057] [ML] ProbabilisticClassifierModels' thresh...
Date Thu, 22 Sep 2016 11:19:57 GMT
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/15149
  
    **[Test build #65768 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65768/consoleFull)**
for PR 15149 at commit [`e6de49b`](https://github.com/apache/spark/commit/e6de49be18df354bdd87953c303280bb3630b1ae).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds the following public classes _(experimental)_:
      * `  final val thresholds: DoubleArrayParam = new DoubleArrayParam(this, \"thresholds\",
\"Thresholds in multi-class classification to adjust the probability of predicting each class.
Array must have length equal to the number of classes, with values > 0 excepting that at
most one value may be 0. The class with largest value p/t is predicted, where p is the original
probability of that class and t is the class's threshold\", (t: Array[Double]) => t.forall(_
>= 0) && t.count(_ == 0) <= 1)`
      * `    thresholds = Param(Params._dummy(), \"thresholds\", \"Thresholds in multi-class
classification to adjust the probability of predicting each class. Array must have length
equal to the number of classes, with values > 0, excepting that at most one value may be
0. The class with largest value p/t is predicted, where p is the original probability of that
class and t is the class's threshold.\", typeConverter=TypeConverters.toListFloat)`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message