Skip to content

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Jul 27, 2025

A first composition for experiments, Negative - this flips the signs in an experiment.

This should also be considered as a proof-of-concept for how composition of experiments would look like.

Depends on #142 which should be merged first.

@fkiraly fkiraly added the enhancement New feature or request label Jul 27, 2025
@SimonBlanke
Copy link
Owner

how composition of experiments would look like

do I guess this would enable to combine experiments with mathematical operators like "+-*/" ?

@fkiraly
Copy link
Collaborator Author

fkiraly commented Aug 2, 2025

do I guess this would enable to combine experiments with mathematical operators like "+-*/" ?

Only the unary operation for now, e.g., -my_experiment.

However, the principle for binary operations like exp1 + exp2 would be the same, just a different dunder __add__.

@SimonBlanke
Copy link
Owner

This should also be considered as a proof-of-concept for how composition of experiments would look like.

Could you give a basic explanation and example of this here? What is the advantage over just putting it into one experiment?

@fkiraly
Copy link
Collaborator Author

fkiraly commented Aug 8, 2025

Could you give a basic explanation and example of this here? What is the advantage over just putting it into one experiment?

Can you explain to me what you mean by that? E.g., "putting it into one experiment"?

@SimonBlanke
Copy link
Owner

Can you explain to me what you mean by that? E.g., "putting it into one experiment"?

Sry, I meant putting the calculations of the score/loss into one experiment, instead of having two experiments with scores/losses each and an operator between them.
But maybe I misunderstand something about this feature. I think an example could clear things up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants