Skip to content

Commit

Permalink
Updated rst file for pyspark.mllib.rand doc. Small doc edit. Small in…
Browse files Browse the repository at this point in the history
…clude edit to make IntelliJ happy.
  • Loading branch information
jkbradley committed Dec 10, 2014
1 parent e230da1 commit c51eca4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions python/docs/pyspark.mllib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ pyspark.mllib.linalg module
:undoc-members:
:show-inheritance:

pyspark.mllib.random module
pyspark.mllib.rand module
---------------------------

.. automodule:: pyspark.mllib.random
.. automodule:: pyspark.mllib.rand
:members:
:undoc-members:
:show-inheritance:
Expand Down
6 changes: 3 additions & 3 deletions python/pyspark/mllib/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ class Normalizer(VectorTransformer):
"""
:: Experimental ::
Normalizes samples individually to unit L\ :sup:`p`\ norm
Normalizes samples individually to unit L\ :sup:`p`\ norm
For any 1 <= `p` <= float('inf'), normalizes samples using
sum(abs(vector). :sup:`p`) :sup:`(1/p)` as norm.
For any 1 <= `p` < float('inf'), normalizes samples using
sum(abs(vector) :sup:`p`) :sup:`(1/p)` as norm.
For `p` = float('inf'), max(abs(vector)) will be used as norm for normalization.
Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/mllib/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from pyspark.mllib.linalg import Vector, SparseVector, DenseVector, VectorUDT, _convert_to_vector,\
DenseMatrix
from pyspark.mllib.regression import LabeledPoint
from pyspark.mllib.random import RandomRDDs
from pyspark.mllib.rand import RandomRDDs
from pyspark.mllib.stat import Statistics
from pyspark.serializers import PickleSerializer
from pyspark.sql import SQLContext
Expand Down

0 comments on commit c51eca4

Please sign in to comment.