Skip to content

Difference between CloseToTargetObjective and TargetObjective #388

Answered by R-M-Lee
setuhn asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there, sorry no-one noticed your question before.

Both TargetObjective and CloseToTargetObjective are valid obejctives that can be used in either multi- or single-objective problems. The difference is that CloseToTarget rewards getting closer to the target no matter how far away you are. TargetObjective is the product of two sigmoidal functions (one of which is 'flipped horizontally') so has a flat region whose size is governed by the tolerance parameter (and steepness to some extent).

So if your goal is to really get as close as possible to some target number, then use CloseToTarget. But if you are actually fine with getting to within +/- some tolerance, then use Target.

Hopefully thi…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by R-M-Lee
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants