MinMaxScaler.inverse_transform#

MinMaxScaler.inverse_transform(X)#

Undo the scaling of X according to feature_range.

Parameters:

X (array-like of shape (n_samples, n_features)) – Input data that will be transformed. It cannot be sparse.

Returns:

X_original – Transformed data.

Return type:

ndarray of shape (n_samples, n_features)