spark-instrumented-optimizer/python/pyspark/mllib
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
..
linalg [SPARK-11084] [ML] [PYTHON] Check if index can contain non-zero value before binary search 2015-10-16 15:53:26 -07:00
stat [SPARK-8996] [MLLIB] [PYSPARK] Python API for Kolmogorov-Smirnov Test 2015-07-20 09:00:01 -07:00
__init__.py [SPARK-8032] [PYSPARK] Make version checking for NumPy in MLlib more robust 2015-06-02 23:24:47 -07:00
classification.py [SPARK-10959] [PYSPARK] StreamingLogisticRegressionWithSGD does not train with given regParam and convergenceTol parameters 2015-10-08 22:21:07 -07:00
clustering.py [SPARK-10779] [PYSPARK] [MLLIB] Set initialModel for KMeans model in PySpark (spark.mllib) 2015-10-07 15:04:53 -07:00
common.py [SPARK-6485] [MLLIB] [PYTHON] Add CoordinateMatrix/RowMatrix/IndexedRowMatrix to PySpark. 2015-08-04 16:30:03 -07:00
evaluation.py [DOC] [PYSPARK] [MLLIB] Added newlines to docstrings to fix parameter formatting 2015-09-21 14:24:19 -07:00
feature.py [SPARK-10273] Add @since annotation to pyspark.mllib.feature 2015-09-14 21:58:52 -07:00
fpm.py [SPARK-10274] [MLLIB] Add @since annotation to pyspark.mllib.fpm 2015-09-17 08:50:46 -07:00
random.py [PYSPARK] [MLLIB] [DOCS] Replaced addversion with versionadded in mllib.random 2015-09-15 12:23:20 -07:00
recommendation.py [SPARK-10535] Sync up API for matrix factorization model between Scala and PySpark 2015-10-09 14:16:13 -07:00
regression.py [SPARK-10959] [PYSPARK] StreamingLogisticRegressionWithSGD does not train with given regParam and convergenceTol parameters 2015-10-08 22:21:07 -07:00
tests.py [SPARK-11084] [ML] [PYTHON] Check if index can contain non-zero value before binary search 2015-10-16 15:53:26 -07:00
tree.py [SPARK-10278] [MLLIB] [PYSPARK] Add @since annotation to pyspark.mllib.tree 2015-09-17 08:48:45 -07:00
util.py [SPARK-10279] [MLLIB] [PYSPARK] [DOCS] Add @since annotation to pyspark.mllib.util 2015-09-17 08:50:00 -07:00