Skip to content

shapefactor as parameter of interest #2194

Answered by TommyDESY
TommyDESY asked this question in Q&A
Discussion options

You must be logged in to vote

It turns out that the problem came from empty bins (obviously a problem when trying to rescale from 0). I avoided the issue by using fewer but larger bins.

In some cases I think it can also be fixed by adding a small positive epsilon to those empty bins but this might create other problems such as very large scaling factors (or hitting the boundary). In my case the minimisation still failed with this strategy.

I just write this here in case any one else stumbles upon this problem.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@alexander-held
Comment options

@TommyDESY
Comment options

@alexander-held
Comment options

@TommyDESY
Comment options

@alexander-held
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by TommyDESY
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
4 participants