[REQUEST] Normalize Treatment Optimization costs by cost term type
Closed this issue · 1 comments
SpencerTWilliams commented
Is your feature request related to a problem? Please describe.
Different cost term types should have the same relative weights, no matter how many terms of a type there are. This will be more consistent with Model Personalization.
Describe the solution you'd like
Use cellfun() to count term types and normalize cost values by these counts.
Describe alternatives you've considered
Currently normalizes by all terms, which unevenly weights types.
SpencerTWilliams commented
Implemented in #339