{"push_id":2918725886,"size":2,"distinct_size":2,"ref":"refs/heads/opt_ndmeasure","head":"41ac5c189842e7973c39a53b8eb3eacc9a480ea8","before":"b451a6423f6b015130d6dd549b9aad33becd117e","commits":[{"sha":"ba22229887546405d1c09e1f65d7b0ef162697e6","author":{"name":"John Kirkham","email":"f62e5e898bee75be9eee0691c7e4e7a84b990c01@janelia.hhmi.org"},"message":"Use NumPy's `mean` with `labeled_comprehension`\n\nWhen computing a label's mean, NumPy's `mean` function can be used\ndirectly with `labeled_comprehension`. As `labeled_comprehension` is\nalready being used by `mean` under the hood given that is what `sum`\nuses. There is no reason not to just use `labeled_comprehension`\ndirectly in `mean` with the function that we would like to compute.\nAfter all each call to the user provided function includes all relevant\nvalues represented by the label. So NumPy's `mean` is accurate in this\ncase. Should simplify the Dask graph of `mean` and the computation time\nneeded. Also should benefit any other function using `mean`.","distinct":true,"url":"https://api.github.com/repos/jakirkham/dask-image/commits/ba22229887546405d1c09e1f65d7b0ef162697e6"},{"sha":"41ac5c189842e7973c39a53b8eb3eacc9a480ea8","author":{"name":"John Kirkham","email":"f62e5e898bee75be9eee0691c7e4e7a84b990c01@janelia.hhmi.org"},"message":"Use NumPy's `var` with `labeled_comprehension`\n\nWhen computing a label's variance, NumPy's `var` function can be used\ndirectly with `labeled_comprehension`. As `labeled_comprehension` is\nalready being used by `variance` under the hood given that is what `sum`\nuses. There is no reason not to just use `labeled_comprehension`\ndirectly in `variance` with the function that we would like to compute.\nAfter all each call to the user provided function includes all relevant\nvalues represented by the label. So NumPy's `var` is accurate in this\ncase. Should simplify the Dask graph of `variance` and the computation\ntime needed. Also should benefit any other function using `variance`.","distinct":true,"url":"https://api.github.com/repos/jakirkham/dask-image/commits/41ac5c189842e7973c39a53b8eb3eacc9a480ea8"}]}
{"actor":{"display_login":"jakirkham"}}