spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sethah <>
Subject [GitHub] spark pull request #16441: [SPARK-14975][ML] Fixed GBTClassifier to predict ...
Date Wed, 11 Jan 2017 02:03:13 GMT
Github user sethah commented on a diff in the pull request:
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/GBTClassifier.scala
    @@ -275,18 +316,33 @@ class GBTClassificationModel private[ml](
       lazy val featureImportances: Vector = TreeEnsembleModel.featureImportances(trees, numFeatures)
    +  private def margin(features: Vector): Double = {
    --- End diff --
    minor: add doc `/** Raw prediction for each class label */`

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message