Marco Zanotti
12/14/2024, 9:41 AMNeuralForecast(models:List[Any], freq:Union[str,int], local_scaler_type:Optional[str]=None)
2. MLP(..., scaler_type:str='identity', ...)
What is the difference between the two (if there is any)? What happens if I specify both?
Thank you for your help.Marco
12/16/2024, 2:07 PMscaler_type
defined in the model will scale windows individually.
Using local_scaler_type
scales your dataset entirely (including features) before making the windows and training.
So, I would suggest you use one or the other, but not both. Usually, we define scaler_type
only, it tends to make better predictions. But if your dataset has global information that is important, then local_scaler_type
makes sense.
I hope this helps!Marco Zanotti
12/16/2024, 3:42 PMMarco
12/16/2024, 7:21 PMscaler_type
or local_scaler_type
, and then you can try different scalers from there. Does that make sense?Marco Zanotti
12/16/2024, 7:38 PMMarco Zanotti
12/16/2024, 7:39 PM