Github user MechCoder commented on a diff in the pull request:
https://github.com/apache/spark/pull/6849#discussion_r33152218
--- Diff: python/pyspark/mllib/tests.py ---
@@ -25,7 +25,8 @@
import array as pyarray
from time import time, sleep
-from numpy import array, array_equal, zeros, inf, all, random
+from numpy import (
+ array, array_equal, zeros, inf, random, exp, dot, all, mean)
--- End diff --
Sure, I thought this was some sort of micro-optimization and followed the
convention that is already there.
---
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]