-
Notifications
You must be signed in to change notification settings - Fork 5
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
Define FitResult
class
#165
Comments
What is exactly the purpose of the FitResult? Because in zfit we already define a fitresult API and in general it would be nice to converge on all this APIs if there isn't a good idea why to deviate. What should the FitResult roughly do? |
Not sure yet, it serves more as a note in the ticket system. |
Background is this discussion #164 (comment) |
List of things the
That are all the requirements I can come up with. The current solution with the dict is just a "placerholder" solution, but it already encapsulates the idea. That is the The implementation is another quite difficult question. I even opened a stack overflow thread for this a while ago, with no real conclusion. In ComPWA (c++) we picked a templated version of a A dict would be an alternative solutions (could be used also in class and be a substitute for the |
Hey, sorry for the late reply, I missed your answer! So what we have in zfit is a class There are mandatory attributes including:
All the additional information is stored in the With time, more attributes can be added. Whateve we see is needed. And the dicts basically solve all the problems of fixed structures (Python FTW). |
Some thoughts:
dict
that is currently returned is not convenient from a user perspective and hard to debugparameters
,estimator_value
problemThe text was updated successfully, but these errors were encountered: