-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#238 multiple datasets #311
base: develop
Are you sure you want to change the base?
Conversation
Hi @MarkBlyth, thanks for this! I'll try to take a look through this afternoon or Monday morning 👍 |
Hi @MarkBlyth, thanks for making a start on this issue! From a first look, the additions required to loop over datasets and/or models seem quite major and worth some discussion. I'm wondering how much of the work can be done outside the base classes. I'm interested to know what @BradyPlanden thinks. A couple of suggestions for next steps if helpful:
Thanks again for sharing your progress! |
Hi @MarkBlyth, I made a start on developing a cost wrapper for multiple cost objects to demonstrate what I meant in point (2) above - see issue #327 and the draft PR #329. I'd be happy to discuss pros/cons of different approaches. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @MarkBlyth, would you be interested in recreating this functionality with the new MultiFittingProblem
and WeightedCost
?
@NicolaCourtier yep sounds good! I won't be able to put too much time into it until after the FI conference, but I'm keen to do some work on it. |
Description
Towards implementing multiple models and multiple datasets. fitting_problem now evaluates to give a list of solutions, one per model/dataset pair. Cost functions weight each error-set to get an overall error score, which is then optimised against. Draft PR, not fully tested and with open todos.
Issue reference
#238
Type of change
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ nox -s tests
$ nox -s doctest
You can run integration tests, unit tests, and doctests together at once, using
$ nox -s quick
.Further checks:
Thank you for contributing to our project! Your efforts help us to deliver great software.