You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
antoinecarme
changed the title
Use MaxAbsScaler for some Multiplicative Signal Tranformations
Use MaxAbsScaler for some Multiplicative Signal Transformations
Mar 24, 2023
PyAF uses a MinMaxScaler for all transformations by default. This introduces zero values in the scaled signal.
https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.MinMaxScaler.html#sklearn.preprocessing.MinMaxScaler
Multiplicative transformations (RelativeDifference, BoxCox) should work better by using a MaxAbsScaler whic his more adapted for positive signals.
https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.MaxAbsScaler.html#sklearn.preprocessing.MaxAbsScaler
The text was updated successfully, but these errors were encountered: