scala - Using Breeze from Java on Spark MLlib -
while trying use mllib java, correct way use breeze matrix operations? e.g. multiplication in scala ist "matrix * vector
". how corresponding functionality expressed in java?
there methods "$colon$times
" might invoked correct way
breeze.linalg.densematrix<double> matrix= ... breeze.linalg.densevector<double> vector = ... matrix.$colon$times( ...
one might need operator instance ... breeze.linalg.operators.opmulmatrix.impl2
exact typed operation instance , parameters used?
it's hard. breeze makes very heavy use of implicits, , don't translate java. have java friendly wrappers signal processing, nothing linear algebra. (i'd happily take pull request provided support wrapping things.)
Comments
Post a Comment