• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dask / dask-image / 145 / 2
100%
main: 99%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-7
DEFAULT BRANCH: main
Ran 30 Sep 2018 07:25AM UTC
Files 21
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Sep 2018 07:19AM UTC coverage: 100.0%. Remained the same
PYVER="35"

push

travis-ci

web-flow
Use labeled_comprehension directly in more function in ndmeasure (#74)

* Use NumPy's `mean` with `labeled_comprehension`

When computing a label's mean, NumPy's `mean` function can be used
directly with `labeled_comprehension`. As `labeled_comprehension` is
already being used by `mean` under the hood given that is what `sum`
uses. There is no reason not to just use `labeled_comprehension`
directly in `mean` with the function that we would like to compute.
After all each call to the user provided function includes all relevant
values represented by the label. So NumPy's `mean` is accurate in this
case. Should simplify the Dask graph of `mean` and the computation time
needed. Also should benefit any other function using `mean`.

* Use NumPy's `var` with `labeled_comprehension`

When computing a label's variance, NumPy's `var` function can be used
directly with `labeled_comprehension`. As `labeled_comprehension` is
already being used by `variance` under the hood given that is what `sum`
uses. There is no reason not to just use `labeled_comprehension`
directly in `variance` with the function that we would like to compute.
After all each call to the user provided function includes all relevant
values represented by the label. So NumPy's `var` is accurate in this
case. Should simplify the Dask graph of `variance` and the computation
time needed. Also should benefit any other function using `variance`.

* Use NumPy's `std` with `labeled_comprehension`

When computing a label's standard deviation, NumPy's `std` function can
be used directly with `labeled_comprehension`. As
`labeled_comprehension` is already being used by `standard_deviation`
under the hood given that is what `var` uses. There is no reason not to
just use `labeled_comprehension` directly in `standard_deviation` with
the function that we would like to compute.  After all each call to the
user provided function includes all relevant values represented by the
lab... (continued)

230 of 230 branches covered (100.0%)

Branch coverage included in aggregate %.

728 of 728 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 145.2 (PYVER="35")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 19146941
  • Travis Job 145.2
  • 6ab2f042 on github
  • Prev Job for on master (#495.1)
  • Next Job for on master (#19147356.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc