-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Milestone
Description
Typically
return mapreduce(hadamard, kernels(κ)) do kernel
kernelmatrix(kernel, X; obsdim = obsdim)
end
should be more efficient since as the documentation says
mapreduce is functionally equivalent to calling reduce(op, map(f, itr); init=init), but will in general execute faster since no intermediate collection needs to be created.
Originally posted by @devmotion in https://github.com/_render_node/MDIzOlB1bGxSZXF1ZXN0UmV2aWV3VGhyZWFkMjU3MDk2NjA5OnYy/pull_request_review_threads/discussion
Metadata
Metadata
Assignees
Labels
No labels