OpenMined / KotlinSyft

The official Syft worker for secure on-device machine learning
https://www.openmined.org
Apache License 2.0
85 stars 28 forks source link

Dataloader api #291

Closed galalen closed 3 years ago

galalen commented 3 years ago

Description

Please include a summary of the change, the motivation, and any additional context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

Checklist

codecov[bot] commented 3 years ago

Codecov Report

Merging #291 (a33a485) into dev (421d96e) will increase coverage by 3.33%. The diff coverage is 59.06%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #291      +/-   ##
==========================================
+ Coverage   27.50%   30.83%   +3.33%     
==========================================
  Files          47       54       +7     
  Lines        1367     1456      +89     
  Branches      225      229       +4     
==========================================
+ Hits          376      449      +73     
- Misses        948      964      +16     
  Partials       43       43              
Impacted Files Coverage Δ
.../java/org/openmined/syft/data/loader/DataLoader.kt 0.00% <0.00%> (ø)
...rg/openmined/syft/datasource/JobLocalDataSource.kt 75.00% <ø> (ø)
...in/java/org/openmined/syft/domain/JobRepository.kt 14.63% <25.00%> (ø)
.../main/java/org/openmined/syft/execution/SyftJob.kt 19.14% <30.00%> (+3.59%) :arrow_up:
...main/java/org/openmined/syft/execution/JobModel.kt 33.33% <33.33%> (ø)
syft/src/main/java/org/openmined/syft/Syft.kt 33.76% <50.00%> (ø)
...a/org/openmined/syft/data/loader/SyftDataLoader.kt 89.74% <89.74%> (ø)
...g/openmined/syft/data/loader/DataLoaderIterator.kt 100.00% <100.00%> (ø)
...a/org/openmined/syft/data/samplers/BatchSampler.kt 100.00% <100.00%> (ø)
.../org/openmined/syft/data/samplers/RandomSampler.kt 100.00% <100.00%> (ø)
... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 421d96e...e082c19. Read the comment docs.