[SPARK-2786][mllib] Python correlations

Actually it is in this case, since `deserializeDoubleVector` has 2 arguments (with `offset` being optional).