Re: number of blocks in ALS/recommendation API

2015-12-17 Thread Burak Yavuz
Copying the first part from the scaladoc: " This is a blocked implementation of the ALS factorization algorithm that groups the two sets of factors (referred to as "users" and "products") into blocks and reduces communication by only sending one copy of each user vector to each product block on

number of blocks in ALS/recommendation API

2015-12-17 Thread Roberto Pagliari
What is the meaning of the 'blocks' input argument in mllib ALS implementation, and how does that relate to the number of executors and/or size of the input data? Thank you,