SciML / SciMLBase.jl

The Base interface of the SciML ecosystem
https://docs.sciml.ai/SciMLBase/stable
MIT License
129 stars 95 forks source link

add `WeightedEnsembleSolution` #467

Closed oscardssmith closed 1 year ago

oscardssmith commented 1 year ago

This allows for easy indexing of an ensemble solution with importance weights. quantiles TODO.

codecov[bot] commented 1 year ago

Codecov Report

Merging #467 (55da4da) into master (f2eab6b) will increase coverage by 6.35%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #467      +/-   ##
==========================================
+ Coverage   43.47%   49.83%   +6.35%     
==========================================
  Files          47       47              
  Lines        3558     3564       +6     
==========================================
+ Hits         1547     1776     +229     
+ Misses       2011     1788     -223     
Impacted Files Coverage Δ
src/ensemble/ensemble_solutions.jl 45.94% <0.00%> (+4.43%) :arrow_up:

... and 22 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

chriselrod commented 1 year ago

A WeightedEnsembleProblem would be similarly useful.

oscardssmith commented 1 year ago

should be easy enough to add.

chriselrod commented 1 year ago

should be easy enough to add.

See https://github.com/SciML/SciMLBase.jl/pull/470