Optimization problem with scalers #277
Unanswered
Miguel-Adarlo
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If one of your channels is only zeroes, then you could run into this problem. Also, try checking for null or infinite values. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day. I'm running into an issue when trying to optimize my spend. Right now, my code looks like this:
But when I try to add the scalers, I run into problems. With the media_scaler, I run into this:
And with the target scaler, I run into this.
It runs without the scalers, but I cannot then get the optimized budget allocation and such properly.
For the record, my scalers are the MaxAbsScaler from sklearn, as the CustomScaler for LightweightMMM produces NaNs.
Help regarding optimization would be appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions