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
I was using the core to register my own work. I used the numpy_minmax_scaler.py from the core to scale my data. Feature range is provided in the config file as:
Scikit-learn feature range should be a tuple. However, yaml file can't process tuple. Therefore, while I am running the code, it is considering as a string and I am getting the following error.
sklearn.utils._param_validation.InvalidParameterError: The 'feature_range' parameter of MinMaxScaler must be an instance of 'tuple'. Got '(0,1)' instead.
A lillte modification is needed in the numpy_minmax_scaler.py to convert it tuple before passing to scaler.
The text was updated successfully, but these errors were encountered:
I was using the core to register my own work. I used the numpy_minmax_scaler.py from the core to scale my data. Feature range is provided in the config file as:
feature_range: (0,1)
data_store_loc: ""
store_loc: ""
Scikit-learn feature range should be a tuple. However, yaml file can't process tuple. Therefore, while I am running the code, it is considering as a string and I am getting the following error.
sklearn.utils._param_validation.InvalidParameterError: The 'feature_range' parameter of MinMaxScaler must be an instance of 'tuple'. Got '(0,1)' instead.
A lillte modification is needed in the numpy_minmax_scaler.py to convert it tuple before passing to scaler.
The text was updated successfully, but these errors were encountered: