How can I fit the test data using min max scaler when I am loading the model?
问题 I am doing auto encoder model.I have saved the model before which I scaled the data using min max scaler. X_train = df.values scaler = MinMaxScaler() X_train_scaled = scaler.fit_transform(X_train) After doing this I fitted the model and saved it as 'h5' file.Now when I give test data, after loading the saved model naturally it should be scaled as well. So when I load the model and scale it by using X_test_scaled = scaler.transform(X_test) It gives the error NotFittedError: This MinMaxScaler