[MLlib] Correctly set vectorSize and alpha