Skip to content

Commit

Permalink
fix python style
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Nov 11, 2014
1 parent 53725b0 commit d4818f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/mllib/recommendation.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ class ALS(object):
SPARK-3990: In Spark 1.1.x, we use Kryo serialization by default in
PySpark. ALS does not work under this default setting. You can switch
back to the default Java serialization by setting:

spark.serializer=org.apache.spark.serializer.JavaSerializer

Please go to http://spark.apache.org/docs/latest/configuration.html
for instructions on how to configure Spark.
"""

@classmethod
def train(cls, ratings, rank, iterations=5, lambda_=0.01, blocks=-1):
sc = ratings.context
Expand Down

0 comments on commit d4818f3

Please sign in to comment.