Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/6139#discussion_r30369727
--- Diff: python/pyspark/ml/feature.py ---
@@ -790,7 +790,7 @@ class Word2Vec(JavaEstimator, HasStepSize, HasMaxIter,
HasSeed, HasInputCol, Has
@keyword_only
def __init__(self, vectorSize=100, minCount=5, numPartitions=1,
stepSize=0.025, maxIter=1,
- seed=42, inputCol=None, outputCol=None):
+ seed=None, inputCol=None, outputCol=None):
"""
__init__(self, vectorSize=100, minCount=5, numPartitions=1,
stepSize=0.025, maxIter=1,
seed=42, inputCol=None, outputCol=None)
--- End diff --
Good point, I originally didn't because I though they might have been
doctests (and I wanted to keep the tests predictable), but that doesn't seem to
be the case. I'll update these :)
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]