alan-turing-institute / autoemulate

emulate simulations easily
MIT License
15 stars 1 forks source link

Fold strategy #202

Closed mastoffel closed 3 months ago

mastoffel commented 3 months ago

fold_strategy becomes cross_validator and takes a scikit-learn cross validator. Defaults to KFold.

This makes it more flexible but also simpler and allows the user to use the cv-strategy they like.

resolves #116

github-actions[bot] commented 3 months ago

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  autoemulate
  compare.py
  tests
  test_compare.py
  test_ui.py
Project Total  

This report was generated by python-coverage-comment-action

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.22%. Comparing base (0f906d9) to head (ce04985).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #202 +/- ## ========================================== + Coverage 90.04% 90.22% +0.18% ========================================== Files 44 44 Lines 2159 2189 +30 ========================================== + Hits 1944 1975 +31 + Misses 215 214 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.