Replies: 1 comment
-
I'm not sure you need to scale binary or categorical features (I never have in any context). The regression just turns that variable into an indicator function and calls it a day. Regarding the |
Beta Was this translation helpful? Give feedback.
-
How would I scale extra features if they contain boolean values like holidays and discrete values like price?
currently Im dividing by the mean :
scaler_control = preprocessing.CustomScaler(divide_operation=jnp.mean)
The problem appears with the binary data when predicting, since holiday is 0 and it yields nan's.
Also,
why is the there a multiplication in the cost scaler?
scaler_cost = preprocessing.CustomScaler(divide_operation=jnp.mean, multiply_by=0.15)
Beta Was this translation helpful? Give feedback.
All reactions