When I use StandardScaler to scale my input features, the model predictions appear to be more accurate, but the R-squared (R2) score is lower. On the other hand, when I use MinMaxScaler, the R2 score is higher, but the predictions seem to be less accurate. I would lik...
MinMaxScalermay be used when the upper and lower boundaries are well known from domain knowledge.MinMaxScaler scales all the data features in the range [0, 1] or else in the range [-1, 1] if there are negative values in the dataset.This scaling compresses all the inliers in the narrow ...