spark-instrumented-optimizer/python/pyspark/mllib/linalg
zero323 8ac71d62d9 [SPARK-11084] [ML] [PYTHON] Check if index can contain non-zero value before binary search
At this moment `SparseVector.__getitem__` executes `np.searchsorted` first and checks if result is in an expected range after that. It is possible to check if index can contain non-zero value before executing `np.searchsorted`.

Author: zero323 <matthew.szymkiewicz@gmail.com>

Closes #9098 from zero323/sparse_vector_getitem_improved.
2015-10-16 15:53:26 -07:00
..
__init__.py [SPARK-11084] [ML] [PYTHON] Check if index can contain non-zero value before binary search 2015-10-16 15:53:26 -07:00
distributed.py [SPARK-6486] [MLLIB] [PYTHON] Add BlockMatrix to PySpark. 2015-08-05 07:40:50 -07:00