cloudml / zen

Zen aims to provide the largest scale and the most efficient machine learning platform on top of Spark, including but not limited to logistic regression, latent dirichilet allocation, factorization machines and DNN.
Apache License 2.0
170 stars 75 forks source link

Simplify `sumInterval` in FM training #59

Closed Hydrotoast closed 8 years ago

Hydrotoast commented 8 years ago

sumInterval is just an array copy. The library method ArrayOps[T]#slice is likely very efficient.

witgo commented 8 years ago

Thank you, merged.