I am migrating to python 3, (from python 2)
seed = 5L
model = ALS.train(trainingRDD, rank, seed=seed, iterations=iterations,
lambda_=regularizationParameter)
and the first line of the code above returns invalid syntax error. How should I tune it in Python 3? The error is:
SyntaxError: invalid syntax
File "<command-2039439267792266>", line 6
seed = 5L
^
SyntaxError: invalid syntax