wedenigt opened a new pull request, #1634: URL: https://github.com/apache/systemds/pull/1634
This commit introduces a new column group called `ColGroupLinearFunctional`. The column group represents each column as a linear function (i.e., intercept & slope). Each linear function is computed such that it minimizes the quadratic distance to the data points in the respective column. `ColGroupLinearFunctional` implements - Efficient transposed self matrix multiplication `tsmm` (which runs in `O(numCols^2)`) - Multiplication with other `ColGroups` (which is especially efficient if another transposed `ColGroupLinearFunctional` is multiplied from the left) and with `MatrixBlock` (from the right) - `max`, `min`, `sum`, `sumSq`, `colProduct`, `colSums`, `colSumsSq`, `rowProduct`, `rowSums`, `decompressToDenseBlock`, `decompressToSparseBlock` The implementations of `ColGroupLinearFunctional` and of the line-fitting module `LinearRegression` are accompanied by test cases. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@systemds.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org