Github user sethah commented on a diff in the pull request:
    --- Diff: python/pyspark/ml/ ---
    @@ -1032,6 +1032,16 @@ class NaiveBayes(JavaEstimator, HasFeaturesCol, 
HasLabelCol, HasPredictionCol, H
         >>> result = model3.transform(test0).head()
         >>> result.prediction
    +    >>> dfWithWeight = spark.createDataFrame([
    --- End diff --
    Sorry for the confusion, I was thinking we could just add weights to the 
existing example. I don't think an entirely separate example is necessary. What 
do you think?

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:

Reply via email to