FriesischScott / UncertaintyQuantification.jl

Uncertainty Quantification in Julia
MIT License
28 stars 7 forks source link

Add ParallelModel #96

Closed FriesischScott closed 1 year ago

FriesischScott commented 1 year ago

The ParallelModel evaluates the rows of a DataFrame using a pmap. It's necessary to run `"everywhere using UncertaintyQuantification" first to load the package on all available workers. Will still work without workers by running in serial.

Closes #95.

codecov[bot] commented 1 year ago

Codecov Report

Base: 98.90% // Head: 98.92% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (e309905) compared to base (056414e). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #96 +/- ## ========================================== + Coverage 98.90% 98.92% +0.02% ========================================== Files 21 21 Lines 639 652 +13 ========================================== + Hits 632 645 +13 Misses 7 7 ``` | [Impacted Files](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf) | Coverage Δ | | |---|---|---| | [src/UncertaintyQuantification.jl](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf#diff-c3JjL1VuY2VydGFpbnR5UXVhbnRpZmljYXRpb24uamw=) | `100.00% <ø> (ø)` | | | [src/reliability/probabilityoffailure.jl](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf#diff-c3JjL3JlbGlhYmlsaXR5L3Byb2JhYmlsaXR5b2ZmYWlsdXJlLmps) | `100.00% <ø> (ø)` | | | [src/simulations/subset.jl](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf#diff-c3JjL3NpbXVsYXRpb25zL3N1YnNldC5qbA==) | `100.00% <ø> (ø)` | | | [src/inputs/inputs.jl](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf#diff-c3JjL2lucHV0cy9pbnB1dHMuamw=) | `100.00% <100.00%> (ø)` | | | [src/inputs/jointdistribution.jl](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf#diff-c3JjL2lucHV0cy9qb2ludGRpc3RyaWJ1dGlvbi5qbA==) | `100.00% <100.00%> (ø)` | | | [src/inputs/parameter.jl](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf#diff-c3JjL2lucHV0cy9wYXJhbWV0ZXIuamw=) | `100.00% <100.00%> (ø)` | | | [src/inputs/randomvariable.jl](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf#diff-c3JjL2lucHV0cy9yYW5kb212YXJpYWJsZS5qbA==) | `100.00% <100.00%> (ø)` | | | [src/models/model.jl](https://codecov.io/gh/FriesischScott/UncertaintyQuantification.jl/pull/96?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf#diff-c3JjL21vZGVscy9tb2RlbC5qbA==) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jasper+Behrensdorf)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.