Skip to content

Interpretability of target transformations #684

@AdrianSosic

Description

@AdrianSosic

It's been reported that target convenience constructors sometimes give an unintuitive (yet correct!) result.

For example, when creating a "minimization" target of the following kind, the corresponding minimize flag appears as False, because the inversion is done via the transformation:

target = NumericalTarget.normalized_ramp("Biproduct", cutoffs=(0, 100), descending=True)
assert target.minimize is False

Also, specifically for the ramp constructors, it appears surprising that they take a descending flag instead of a minimize flag.

While non of this is a "bug", we might want to replace the inner construction and the interface so that they are more in line with what user would expect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementExpand / change existing functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions