Replies: 2 comments 2 replies
-
I'm not sure I understand why you want a function that is meant to return "data" when queried to keep a memory of the results it has returned? It adds a lot of code complexity to the ModelSystem class, when you could just as easily keep a "data points" array that you continually append or grab them from your Optimizer, which stores both the positions and the scores anyway? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Conclusion: no, it should not. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like the ability to control whether my score function prints where it has been evaluated and what the result was - It is useful when making examples.
I think the best way to do it is just like we handle acquisition function args - Allow for
ModelSystem
to have ascore_kwargs
property that is adict
(orNone
, which is translated to{}
), andModelSystem.get_score()
then callsself.score(X,**self.score_kwargs)
.Is this too complicated functionality to solve my problem?
Beta Was this translation helpful? Give feedback.
All reactions