guanyilun / galilei

A generic function emulator that supports multiple backends
MIT License
1 stars 0 forks source link

add sampling method module: build samples by latin hypercube #12

Closed guanyilun closed 1 year ago

guanyilun commented 1 year ago

add some utility methods to build samples using smarter sampling algorithms.

codecov-commenter commented 1 year ago

Codecov Report

Base: 0.00% // Head: 12.26% // Increases project coverage by +12.26% :tada:

Coverage data is based on head (03ff9c2) compared to base (b7172f4). Patch coverage: 96.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12 +/- ## =========================================== + Coverage 0.00% 12.26% +12.26% =========================================== Files 7 8 +1 Lines 350 375 +25 =========================================== + Hits 0 46 +46 + Misses 350 329 -21 ``` | [Impacted Files](https://codecov.io/gh/guanyilun/galilei/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yilun+Guan) | Coverage Δ | | |---|---|---| | [galilei/sampling.py](https://codecov.io/gh/guanyilun/galilei/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yilun+Guan#diff-Z2FsaWxlaS9zYW1wbGluZy5weQ==) | `96.00% <96.00%> (ø)` | | | [galilei/emulator.py](https://codecov.io/gh/guanyilun/galilei/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yilun+Guan#diff-Z2FsaWxlaS9lbXVsYXRvci5weQ==) | `14.87% <0.00%> (+14.87%)` | :arrow_up: | | [galilei/\_\_init\_\_.py](https://codecov.io/gh/guanyilun/galilei/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yilun+Guan#diff-Z2FsaWxlaS9fX2luaXRfXy5weQ==) | `100.00% <0.00%> (+100.00%)` | :arrow_up: | 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=Yilun+Guan). 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=Yilun+Guan)

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