linear algebra - Multiply elements of a matrix with a scalar - Spark MLlib -
i working rowmatrix , matrices classes spark mllib library implement linear regression. want multiply or divide elements of rowmatrix scalar, can't find function or operator this. what's way execute linear algebra operations on spark?
the reason use rowmatrix because earlier in code compute matrix multiplication between rowmatrix , local matrix.
thank in advance, nadia
Comments
Post a Comment